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.

Integer Binary Translation Notes
0 00000000 SMSC Default Alphabet – ASCII for short and long code and to GSM for toll-free
1 00000001 ASCII for short and long code, Latin 9 for toll-free (ISO-8859-9)
2 00000010 Octet Unspecified 8-bit binary
3 00000011 Latin 1 (ISO-8859-1)
4 00000100 Octet Unspecified 8-bit binary
5 00000101 JIS (X 0208-1990)
6 00000110 Cyrllic (ISO-8859-5)
7 00000111 Latin/Hebrew (ISO-8859-8)
8 00001000 UCS2/UTF-16 (ISO/IEC-10646)
9 00001001 Pictogram Encoding
10 00001010 Music Codes (ISO-2022-JP)
13 00001101 Extended Kanji JIS (X 0212-1990)
14 00001110 Korean 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:

Dictation Bits 7 6 5 4 3 2 1 0 Meaning
Messaging Mode 1-0 x x x x x x 0 0 Default SMSC Mode (e.g. Store and Forward)
Messaging Mode 1-0 x x x x x x 0 1 Datagram mode
Messaging Mode 1-0 x x x x x x 1 0 Forward (i.e. Transaction) mode
Messaging Mode 1-0 x x x x x x 1 1 Store and Forward mode (use to select Store and Forward mode if Default SMSC Mode is non Store and Forward)
Message Type 5-2 x x 0 0 0 0 x x Default message Type (i.e. normal message)
Message Type 5-2 x x 0 0 1 0 x x Short Message contains ESME Delivery Acknowledgement
Message Type 5-2 x x 0 1 0 0 x x Short Message contains ESME Manual/User Acknowledgement
GSM Network Specific Features 7-6 0 0 x x x x x x No specific features selected
GSM Network Specific Features 7-6 0 1 x x x x x x UDHI Indicator (only relevant for MT short messages)
GSM Network Specific Features 7-6 1 0 x x x x x x Set Reply Path (only relevant for GSM network)
GSM Network Specific Features 7-6 1 1 x x x x x x Set 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.

Dictation Bits 7 6 5 4 3 2 1 0 Meaning
Messaging Mode 1-0 x x x x x x x x not applicable – ignore bits 0 and 1
Message Type 5-2 x x 0 0 0 0 x x Default message Type (i.e. normal message)
Message Type 5-2 x x 0 0 0 1 x x Short Message contains SMSC Delivery Receipt
Message Type 5-2 x x 0 0 1 0 x x Short Message contains SME Delivery Acknowledgement
Message Type 5-2 x x 0 0 1 1 x x reserved
Message Type 5-2 x x 0 1 0 0 x x Short Message contains SME Manual/User Acknowledgement
Message Type 5-2 x x 0 1 0 1 x x reserved
Message Type 5-2 x x 0 1 1 0 x x Short Message contains Conversation Abort (Korean CDMA)
Message Type 5-2 x x 0 1 1 1 x x reserved
Message Type 5-2 x x 1 0 0 0 x x Short Message contains Intermediate Delivery Notification
GSM Network Specific Features 7-6 0 0 x x x x x x No specific features selected
GSM Network Specific Features 7-6 0 1 x x x x x x UDHI Indicator set
GSM Network Specific Features 7-6 1 0 x x x x x x Set Reply Path
GSM Network Specific Features 7-6 1 1 x x x x x x Set UDHI and Reply Path