ie.omk.smpp.util
Class GSMConstants

java.lang.Object
  extended by ie.omk.smpp.util.GSMConstants

public final class GSMConstants
extends Object

GSM constant values. This class includes static values for known Type-of numbers, numbering plan indicators and GSM error codes.


Field Summary
static int GSM_ERR_NONE
          No error
static int GSM_ERR_P_CUG
          CUG reject
static int GSM_ERR_P_PROVISION
          Not provisioned
static int GSM_ERR_P_UNKNOWN
          Customer unknown
static int GSM_ERR_T_ABSENT
          absent subscriber
static int GSM_ERR_T_ABSENT_DETACHED
          absent subscriber detached
static int GSM_ERR_T_ABSENT_PAGEFAIL
          MS didn't respond to 2 pages
static int GSM_ERR_T_BARRED
          Call barred
static int GSM_ERR_T_MEMCAP
          memory capacity exceeded
static int GSM_ERR_T_MSERROR
          error in receiving MS
static int GSM_ERR_T_MSSUPPORT
          SMS not supported by MS
static int GSM_ERR_T_SUPPORT
          facility not supported
static int GSM_ERR_T_SUPPORT_ROAMING
          Subscriber roamed to new PLMN
static int GSM_ERR_T_SYSTEM
          system failure
static int GSM_NPI_E164
           
static int GSM_NPI_ERMES
           
static int GSM_NPI_ISDN
           
static int GSM_NPI_NATIONAL
           
static int GSM_NPI_PRIVATE
           
static int GSM_NPI_RESERVED_EXTN
           
static int GSM_NPI_TELEX
           
static int GSM_NPI_UNKNOWN
           
static int GSM_NPI_X121
           
static int GSM_TON_ABBREVIATED
           
static int GSM_TON_ALPHANUMERIC
           
static int GSM_TON_INTERNATIONAL
           
static int GSM_TON_NATIONAL
           
static int GSM_TON_NETWORK
           
static int GSM_TON_RESERVED_EXTN
           
static int GSM_TON_SUBSCRIBER
           
static int GSM_TON_UNKNOWN
           
 
Method Summary
static String getGsmErr(int code)
          Get a string for the GSM error code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GSM_ERR_NONE

public static final int GSM_ERR_NONE
No error

See Also:
Constant Field Values

GSM_ERR_P_UNKNOWN

public static final int GSM_ERR_P_UNKNOWN
Customer unknown

See Also:
Constant Field Values

GSM_ERR_P_PROVISION

public static final int GSM_ERR_P_PROVISION
Not provisioned

See Also:
Constant Field Values

GSM_ERR_T_BARRED

public static final int GSM_ERR_T_BARRED
Call barred

See Also:
Constant Field Values

GSM_ERR_P_CUG

public static final int GSM_ERR_P_CUG
CUG reject

See Also:
Constant Field Values

GSM_ERR_T_MSSUPPORT

public static final int GSM_ERR_T_MSSUPPORT
SMS not supported by MS

See Also:
Constant Field Values

GSM_ERR_T_MSERROR

public static final int GSM_ERR_T_MSERROR
error in receiving MS

See Also:
Constant Field Values

GSM_ERR_T_SUPPORT

public static final int GSM_ERR_T_SUPPORT
facility not supported

See Also:
Constant Field Values

GSM_ERR_T_MEMCAP

public static final int GSM_ERR_T_MEMCAP
memory capacity exceeded

See Also:
Constant Field Values

GSM_ERR_T_ABSENT

public static final int GSM_ERR_T_ABSENT
absent subscriber

See Also:
Constant Field Values

GSM_ERR_T_ABSENT_DETACHED

public static final int GSM_ERR_T_ABSENT_DETACHED
absent subscriber detached

See Also:
Constant Field Values

GSM_ERR_T_ABSENT_PAGEFAIL

public static final int GSM_ERR_T_ABSENT_PAGEFAIL
MS didn't respond to 2 pages

See Also:
Constant Field Values

GSM_ERR_T_SUPPORT_ROAMING

public static final int GSM_ERR_T_SUPPORT_ROAMING
Subscriber roamed to new PLMN

See Also:
Constant Field Values

GSM_ERR_T_SYSTEM

public static final int GSM_ERR_T_SYSTEM
system failure

See Also:
Constant Field Values

GSM_TON_UNKNOWN

public static final int GSM_TON_UNKNOWN
See Also:
Constant Field Values

GSM_TON_INTERNATIONAL

public static final int GSM_TON_INTERNATIONAL
See Also:
Constant Field Values

GSM_TON_NATIONAL

public static final int GSM_TON_NATIONAL
See Also:
Constant Field Values

GSM_TON_NETWORK

public static final int GSM_TON_NETWORK
See Also:
Constant Field Values

GSM_TON_SUBSCRIBER

public static final int GSM_TON_SUBSCRIBER
See Also:
Constant Field Values

GSM_TON_ALPHANUMERIC

public static final int GSM_TON_ALPHANUMERIC
See Also:
Constant Field Values

GSM_TON_ABBREVIATED

public static final int GSM_TON_ABBREVIATED
See Also:
Constant Field Values

GSM_TON_RESERVED_EXTN

public static final int GSM_TON_RESERVED_EXTN
See Also:
Constant Field Values

GSM_NPI_UNKNOWN

public static final int GSM_NPI_UNKNOWN
See Also:
Constant Field Values

GSM_NPI_E164

public static final int GSM_NPI_E164
See Also:
Constant Field Values

GSM_NPI_ISDN

public static final int GSM_NPI_ISDN
See Also:
Constant Field Values

GSM_NPI_X121

public static final int GSM_NPI_X121
See Also:
Constant Field Values

GSM_NPI_TELEX

public static final int GSM_NPI_TELEX
See Also:
Constant Field Values

GSM_NPI_NATIONAL

public static final int GSM_NPI_NATIONAL
See Also:
Constant Field Values

GSM_NPI_PRIVATE

public static final int GSM_NPI_PRIVATE
See Also:
Constant Field Values

GSM_NPI_ERMES

public static final int GSM_NPI_ERMES
See Also:
Constant Field Values

GSM_NPI_RESERVED_EXTN

public static final int GSM_NPI_RESERVED_EXTN
See Also:
Constant Field Values
Method Detail

getGsmErr

public static String getGsmErr(int code)
Get a string for the GSM error code.



Copyright © 2011 smppapi at Sourceforge. All Rights Reserved.