Experts in SMS and MMS Technology. NCLs Provato is an SMS/MMS Gateway supporting  WAP Push, EMS, MMS, SMS, Nokia Smart Messaging, SMPP, CIMD, UCP, MM7, M20, TC35 NCL Technologies Ltd
Provato - SMS MMS Gateway
Mobile Messaging in J2EE & .NET

SwiftNote - Java SMS Toolkit

ie.ncl.sms.smpp
Interface Constants

All Known Implementing Classes:
Address

public interface Constants

This interface defines the various short messaging constants which are used by the short messaging class (message), the short messaging address (address) and the SMPP protocol handler (smpp). Updated GSM constants can be taken from future releases of the ETSI GSM 03.40 standard specification.

See Also:
Address, Message, Smpp

Field Summary
static short GSM_ASCII_MESSAGE_LENGTH
          The maximum length of a GSM ASCII short message.
static short GSM_DCS_7BIT
          7-bit coding scheme.
static short GSM_DCS_8BIT
          8-bit coding scheme.
static short GSM_DCS_SIM
          SIM card coding scheme.
static short GSM_ERR_NONE
          No GSM error
static short GSM_ERR_P_CUG
          Call User Group rejected - temporary error.
static short GSM_ERR_P_PROVISION
          The subscriber is not provisioned - permanent error.
static short GSM_ERR_P_UNKNOWN
          The subscriber is unknown - permanent error.
static short GSM_ERR_T_ABSENT
          The subscriber is absent from the network - temporary error.
static short GSM_ERR_T_ABSENT_DETACHED
          Subscriber detached from network - temporary error
static short GSM_ERR_T_ABSENT_PAGEFAIL
          The mobile station is not reponding to page requests
static short GSM_ERR_T_BARRED
          The subscriber is call barred - permanent error.
static short GSM_ERR_T_MEMCAP
          The memory capacity of the mobile station has been exceeded - temporary error.
static short GSM_ERR_T_MSERROR
          General communication error when mobile station received message - temporary error.
static short GSM_ERR_T_MSSUPPORT
          Short messaging currently not supported by subscribers mobile station - temporary error.
static short GSM_ERR_T_SUPPORT
          This facility not supported - temporary error.
static short GSM_ERR_T_SUPPORT_ROAMING
          The mobile station roamed into different public land mobile netork (PLMN) - temporary error
static short GSM_ERR_T_SYSTEM
          General failure (unknown cause) - temporary error
static short GSM_NPI_E164
          Number Plan Indicator - E164.
static short GSM_NPI_ERMES
          Number Plan Indicator - ERMES.
static short GSM_NPI_ISDN
          Number Plan Indicator - Integrated Services Digital Network
static short GSM_NPI_NATIONAL
          Number Plan Indicator - National
static short GSM_NPI_PRIVATE
          Number Plan Indicator - Private.
static short GSM_NPI_RESERVED_EXTN
          Number Plan Indicator - Reserved for future use.
static short GSM_NPI_TELEX
          Number Plan Indicator - Telex.
static short GSM_NPI_UNKNOWN
          Number Plan Indicator - unknown.
static short GSM_NPI_X121
          Number Plan Indicator - X121..
static short GSM_OCTET_MESSAGE_LENGTH
          The maximum length of a GSM binary short message.
static short GSM_PID_ERMES
          Protocol Identifier - ERMES.
static short GSM_PID_NORMAL
          Protocol Identifier - normal.
static short GSM_PID_PAGING_SYSTEM
          Protocol Identifier - Paging.
static short GSM_PID_TELEFAX3
          Protocol Identifier - Telefax.
static short GSM_PID_TELEFAX4
          Protocol Identifier - Telefax.
static short GSM_PID_TELEX
          Protocol Identifier - Telex.
static short GSM_PID_UCI
          Protocol Identifier - UCI.
static short GSM_PID_VIDEOTEX
          Protocol Identifier - Videotex.
static short GSM_PID_VOICE
          Protocol Identifier - Voice.
static short GSM_PID_X400_MHS
          Protocol Identifier - X400 MHS.
static short GSM_TON_ABBREVIATED
          Type of number - abbreviated.
static short GSM_TON_ALPHANUMERIC
          Type of number - alphanumeric.
static short GSM_TON_INTERNATIONAL
          Type of number - international.
static short GSM_TON_NATIONAL
          Type of number - national.
static short GSM_TON_NETWORK
          Type of number - network.
static short GSM_TON_RESERVED_EXTN
          Type of number - Reserved for future use.
static short GSM_TON_SUBSCRIBER
          Type of number - subscriber.
static short GSM_TON_UNKNOWN
          Type of number - unknown.
static short MAXIMUM_MESSAGE_LENGTH
          The maximum length of any short message.
static short STATUS_ACCEPTED
          This state indicates that the message is being accepted.
static short STATUS_DELETED
          This state indicates that the message is marked for deletion at the SMSC.
static short STATUS_DELIVERED
          This state indicates that the message has been delivered.
static short STATUS_ENROUTE
          This state indicates that the message is enroute (still at the SMSC).
static short STATUS_EXPIRED
          This state indicates that the message has expired.
static short STATUS_INVALID
          This state indicates that an unknown error has occurred.
static short STATUS_UNDELIVERABLE
          This state indicates that the message cannot be delivered.
 

Field Detail

GSM_ERR_NONE

static final short GSM_ERR_NONE
No GSM error

See Also:
Constant Field Values

GSM_ERR_P_UNKNOWN

static final short GSM_ERR_P_UNKNOWN
The subscriber is unknown - permanent error.

See Also:
Constant Field Values

GSM_ERR_P_PROVISION

static final short GSM_ERR_P_PROVISION
The subscriber is not provisioned - permanent error.

See Also:
Constant Field Values

GSM_ERR_T_BARRED

static final short GSM_ERR_T_BARRED
The subscriber is call barred - permanent error.

See Also:
Constant Field Values

GSM_ERR_P_CUG

static final short GSM_ERR_P_CUG
Call User Group rejected - temporary error.

See Also:
Constant Field Values

GSM_ERR_T_MSSUPPORT

static final short GSM_ERR_T_MSSUPPORT
Short messaging currently not supported by subscribers mobile station - temporary error.

See Also:
Constant Field Values

GSM_ERR_T_MSERROR

static final short GSM_ERR_T_MSERROR
General communication error when mobile station received message - temporary error.

See Also:
Constant Field Values

GSM_ERR_T_SUPPORT

static final short GSM_ERR_T_SUPPORT
This facility not supported - temporary error.

See Also:
Constant Field Values

GSM_ERR_T_MEMCAP

static final short GSM_ERR_T_MEMCAP
The memory capacity of the mobile station has been exceeded - temporary error.

See Also:
Constant Field Values

GSM_ERR_T_ABSENT

static final short GSM_ERR_T_ABSENT
The subscriber is absent from the network - temporary error.

See Also:
Constant Field Values

GSM_ERR_T_ABSENT_DETACHED

static final short GSM_ERR_T_ABSENT_DETACHED
Subscriber detached from network - temporary error

See Also:
Constant Field Values

GSM_ERR_T_ABSENT_PAGEFAIL

static final short GSM_ERR_T_ABSENT_PAGEFAIL
The mobile station is not reponding to page requests

See Also:
Constant Field Values

GSM_ERR_T_SUPPORT_ROAMING

static final short GSM_ERR_T_SUPPORT_ROAMING
The mobile station roamed into different public land mobile netork (PLMN) - temporary error

See Also:
Constant Field Values

GSM_ERR_T_SYSTEM

static final short GSM_ERR_T_SYSTEM
General failure (unknown cause) - temporary error

See Also:
Constant Field Values

GSM_TON_UNKNOWN

static final short GSM_TON_UNKNOWN
Type of number - unknown.

See Also:
Constant Field Values

GSM_TON_INTERNATIONAL

static final short GSM_TON_INTERNATIONAL
Type of number - international.

See Also:
Constant Field Values

GSM_TON_NATIONAL

static final short GSM_TON_NATIONAL
Type of number - national.

See Also:
Constant Field Values

GSM_TON_NETWORK

static final short GSM_TON_NETWORK
Type of number - network.

See Also:
Constant Field Values

GSM_TON_SUBSCRIBER

static final short GSM_TON_SUBSCRIBER
Type of number - subscriber.

See Also:
Constant Field Values

GSM_TON_ALPHANUMERIC

static final short GSM_TON_ALPHANUMERIC
Type of number - alphanumeric.

See Also:
Constant Field Values

GSM_TON_ABBREVIATED

static final short GSM_TON_ABBREVIATED
Type of number - abbreviated.

See Also:
Constant Field Values

GSM_TON_RESERVED_EXTN

static final short GSM_TON_RESERVED_EXTN
Type of number - Reserved for future use. See GSM 03.40.

See Also:
Constant Field Values

GSM_NPI_UNKNOWN

static final short GSM_NPI_UNKNOWN
Number Plan Indicator - unknown.

See Also:
Constant Field Values

GSM_NPI_E164

static final short GSM_NPI_E164
Number Plan Indicator - E164. (See GSM 03.40)

See Also:
Constant Field Values

GSM_NPI_ISDN

static final short GSM_NPI_ISDN
Number Plan Indicator - Integrated Services Digital Network

See Also:
Constant Field Values

GSM_NPI_X121

static final short GSM_NPI_X121
Number Plan Indicator - X121.. (See GSM 03.40)

See Also:
Constant Field Values

GSM_NPI_TELEX

static final short GSM_NPI_TELEX
Number Plan Indicator - Telex. (See GSM 03.40)

See Also:
Constant Field Values

GSM_NPI_NATIONAL

static final short GSM_NPI_NATIONAL
Number Plan Indicator - National

See Also:
Constant Field Values

GSM_NPI_PRIVATE

static final short GSM_NPI_PRIVATE
Number Plan Indicator - Private. (See GSM 03.40)

See Also:
Constant Field Values

GSM_NPI_ERMES

static final short GSM_NPI_ERMES
Number Plan Indicator - ERMES. (See GSM 03.40)

See Also:
Constant Field Values

GSM_NPI_RESERVED_EXTN

static final short GSM_NPI_RESERVED_EXTN
Number Plan Indicator - Reserved for future use. See GSM 03.40.

See Also:
Constant Field Values

GSM_ASCII_MESSAGE_LENGTH

static final short GSM_ASCII_MESSAGE_LENGTH
The maximum length of a GSM ASCII short message.

See Also:
Constant Field Values

GSM_OCTET_MESSAGE_LENGTH

static final short GSM_OCTET_MESSAGE_LENGTH
The maximum length of a GSM binary short message.

See Also:
Constant Field Values

MAXIMUM_MESSAGE_LENGTH

static final short MAXIMUM_MESSAGE_LENGTH
The maximum length of any short message.

See Also:
Constant Field Values

GSM_DCS_7BIT

static final short GSM_DCS_7BIT
7-bit coding scheme. Used when sending ASCII short messages.

See Also:
Constant Field Values

GSM_DCS_8BIT

static final short GSM_DCS_8BIT
8-bit coding scheme. Used when sending non-ASCII short messages.

See Also:
Constant Field Values

GSM_DCS_SIM

static final short GSM_DCS_SIM
SIM card coding scheme. Used when sending SIM card programming data to the smart card in the mobile station.

See Also:
Constant Field Values

GSM_PID_NORMAL

static final short GSM_PID_NORMAL
Protocol Identifier - normal.

See Also:
Constant Field Values

GSM_PID_TELEX

static final short GSM_PID_TELEX
Protocol Identifier - Telex. (See GSM 03.40)

See Also:
Constant Field Values

GSM_PID_TELEFAX3

static final short GSM_PID_TELEFAX3
Protocol Identifier - Telefax. (See GSM 03.40)

See Also:
Constant Field Values

GSM_PID_TELEFAX4

static final short GSM_PID_TELEFAX4
Protocol Identifier - Telefax. (See GSM 03.40)

See Also:
Constant Field Values

GSM_PID_VOICE

static final short GSM_PID_VOICE
Protocol Identifier - Voice. (See GSM 03.40)

See Also:
Constant Field Values

GSM_PID_ERMES

static final short GSM_PID_ERMES
Protocol Identifier - ERMES. (See GSM 03.40)

See Also:
Constant Field Values

GSM_PID_PAGING_SYSTEM

static final short GSM_PID_PAGING_SYSTEM
Protocol Identifier - Paging. (See GSM 03.40)

See Also:
Constant Field Values

GSM_PID_VIDEOTEX

static final short GSM_PID_VIDEOTEX
Protocol Identifier - Videotex. (See GSM 03.40)

See Also:
Constant Field Values

GSM_PID_UCI

static final short GSM_PID_UCI
Protocol Identifier - UCI. (See GSM 03.40)

See Also:
Constant Field Values

GSM_PID_X400_MHS

static final short GSM_PID_X400_MHS
Protocol Identifier - X400 MHS. (See GSM 03.40)

See Also:
Constant Field Values

STATUS_ENROUTE

static final short STATUS_ENROUTE
This state indicates that the message is enroute (still at the SMSC).

See Also:
Constant Field Values

STATUS_DELIVERED

static final short STATUS_DELIVERED
This state indicates that the message has been delivered.

See Also:
Constant Field Values

STATUS_EXPIRED

static final short STATUS_EXPIRED
This state indicates that the message has expired. No more attempts will be made to deliver it to its final SME destination.

See Also:
Constant Field Values

STATUS_DELETED

static final short STATUS_DELETED
This state indicates that the message is marked for deletion at the SMSC.

See Also:
Constant Field Values

STATUS_UNDELIVERABLE

static final short STATUS_UNDELIVERABLE
This state indicates that the message cannot be delivered. The GSM error code will give a reason as to this failure

See Also:
Message.getGsmError(), Constant Field Values

STATUS_ACCEPTED

static final short STATUS_ACCEPTED
This state indicates that the message is being accepted.

See Also:
Constant Field Values

STATUS_INVALID

static final short STATUS_INVALID
This state indicates that an unknown error has occurred.

See Also:
Constant Field Values

Experts in SMS and MMS Technology. NCLs Provato is an SMS/MMS Gateway supporting  WAP Push, EMS, MMS, SMS, Nokia Smart Messaging, SMPP, CIMD, UCP, MM7, M20, TC35 NCL Technologies Ltd
Provato - SMS MMS Gateway
Mobile Messaging in J2EE & .NET

SwiftNote - Java SMS Toolkit