SMPP Data Coding Scheme

Industry specifications and standards

Data Coding Scheme Values

DCS values signify the Data Coding Scheme you have set to pass your messages to Messaggio. See the industry-universal list of DCS values below.

IntegerBinaryTranslationNotes
000000000SMSC Default Alphabet – ASCII for short and long code and to GSM for toll-free
100000001ASCII for short and long code, Latin 9 for toll-free(ISO-8859-9)
200000010Octet Unspecified8-bit binary
300000011Latin 1(ISO-8859-1)
400000100Octet Unspecified8-bit binary
500000101JIS(X 0208-1990)
600000110Cyrllic(ISO-8859-5)
700000111Latin/Hebrew(ISO-8859-8)
800001000UCS2/UTF-16(ISO/IEC-10646)
900001001Pictogram Encoding
1000001010Music Codes(ISO-2022-JP)
1300001101Extended Kanji JIS(X 0212-1990)
1400001110Korean Graphic Character Set(KS C 5601/KS X 1001)

esm_class Parameter

The esm_class parameter is used to indicate special message attributes associated with SMS

Default Setting: 0x00.

  • If an ESME encodes GSM User Data Header information in the short message user data, it must set the UDHI flag in the esm_class field.
  • If the SMSC delivers a short message that contains GSM User Data Header information encoded in the short_message or message_payload parameter, it must set the UDHI flag in
    the esm_class field.
  • For GSM networks, the concatenation related optional parameters (sar_msg_ref_num, sar_total_segments, sar_segment_seqnum) or port addressing related optional parameters (source_port, destination_port) cannot be used in conjunction with encoded User Data Header in the short_message (user data) field. This means that the above listed optional
    parameters cannot be used if the User Data Header Indicator flag is set.

ESME -> SMSC PDU Encoding

esm_class is encoded as follows in the submit_sm, submit_multi and data_sm (ESME -> SMSC) PDUs:

DictationBits7 6 5 4 3 2 1 0Meaning
Messaging Mode1-0x x x x x x 0 0Default SMSC Mode (e.g. Store and Forward)
Messaging Mode1-0x x x x x x 0 1Datagram mode
Messaging Mode1-0x x x x x x 1 0Forward (i.e. Transaction) mode
Messaging Mode1-0x x x x x x 1 1Store and Forward mode (use to select Store and Forward mode if Default SMSC Mode is non Store and Forward)
Message Type5-2x x 0 0 0 0 x xDefault message Type (i.e. normal message)
Message Type5-2x x 0 0 1 0 x xShort Message contains ESME Delivery Acknowledgement
Message Type5-2x x 0 1 0 0 x xShort Message contains ESME Manual/User Acknowledgement
GSM Network Specific Features7-60 0 x x x x x xNo specific features selected
GSM Network Specific Features7-60 1 x x x x x xUDHI Indicator (only relevant for MT short messages)
GSM Network Specific Features7-61 0 x x x x x xSet Reply Path (only relevant for GSM network)
GSM Network Specific Features7-61 1 x x x x x xSet UDHI and Reply Path (only relevant for GSM network)

SMSC -> ESME PDU Encoding

The esm_class parameter is encoded as follows in a deliver_sm and data_sm (SMSC -> ESME) PDUs:

**Note:**\ All unlisted values for bits 5-2 and 7-6 are reserved.

DictationBits7 6 5 4 3 2 1 0Meaning
Messaging Mode1-0x x x x x x x xnot applicable – ignore bits 0 and 1
Message Type5-2x x 0 0 0 0 x xDefault message Type (i.e. normal message)
Message Type5-2x x 0 0 0 1 x xShort Message contains SMSC Delivery Receipt
Message Type5-2x x 0 0 1 0 x xShort Message contains SME Delivery Acknowledgement
Message Type5-2x x 0 0 1 1 x xreserved
Message Type5-2x x 0 1 0 0 x xShort Message contains SME Manual/User Acknowledgement
Message Type5-2x x 0 1 0 1 x xreserved
Message Type5-2x x 0 1 1 0 x xShort Message contains Conversation Abort (Korean CDMA)
Message Type5-2x x 0 1 1 1 x xreserved
Message Type5-2x x 1 0 0 0 x xShort Message contains Intermediate Delivery Notification
GSM Network Specific Features7-60 0 x x x x x xNo specific features selected
GSM Network Specific Features7-60 1 x x x x x xUDHI Indicator set
GSM Network Specific Features7-61 0 x x x x x xSet Reply Path
GSM Network Specific Features7-61 1 x x x x x xSet UDHI and Reply Path