Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Data Coding Scheme
One-octet field in Short Messages

Data Coding Scheme is a one-octet field in Short Messages (SM) and Cell Broadcast Messages (CB) which carries a basic information how the recipient handset should process the received message. The information includes:

  • the character set or message coding, which determines the encoding of the message user data
  • the message class, which determines to which component of the Mobile Station (MS) or User Equipment (UE) the message should be delivered
  • the request to automatically delete the message after reading
  • the state of flags indicating presence of unread voicemail, fax, e-mail or other messages
  • the indication that the message content is compressed
  • the language of the cell broadcast message

The field is described in 3GPP 23.040 and 3GPP 23.038 under the name TP-DCS.

We don't have any images related to Data Coding Scheme yet.
We don't have any YouTube videos related to Data Coding Scheme yet.
We don't have any PDF documents related to Data Coding Scheme yet.
We don't have any Books related to Data Coding Scheme yet.
We don't have any archived web articles related to Data Coding Scheme yet.

Message character sets

A special 7-bit encoding called the GSM 7 bit default alphabet was designed for the Short Message System in GSM. The alphabet contains the most-often used symbols from most Western-European languages (and some Greek uppercase letters). Some ASCII characters and the Euro sign did not fit into the GSM 7-bit default alphabet and must be encoded using two septets. These characters form GSM 7 bit default alphabet extension table. Support of the GSM 7-bit alphabet is mandatory for GSM handsets and network elements.1

Languages which use Latin script, but use characters which are not present in the GSM 7-bit default alphabet, often replace missing characters with diacritic marks with corresponding characters without diacritics, which causes not entirely satisfactory user experience, but is often accepted. In order to include these missing characters the 16-bit UTF-16 (in GSM called UCS-2) encoding may be used at the price of reducing the length of a (non-segmented) message from 160 to 70 characters.

The messages in Chinese, Korean or Japanese languages must be encoded using the UTF-16 character encoding. The same was also true for other languages using non-Latin scripts like Russian, Arabic, Hebrew and various Indian languages. In 3GPP TS 23.038 8.0.0 published in 2008 a new feature, an extended National language shift table was introduced, which in the version 11.0.0 published in 2012 covers Turkish, Spanish, Portuguese, Bengali, Gujarati, Hindi, Kannada, Malayalam, Oriya, Punjabi, Tamil, Telugu and Urdu languages. The mechanism replaces GSM 7-bit default alphabet code table and/or extended table with a national table(s) according to special information elements in User Data Header. The non-segmented message using national language shift table(s) may carry up to 155 (or 153) 7-bit characters.

GSM recognizes only two encodings for text messages and one encoding for binary messages:

  • GSM 7-bit default alphabet (which includes using of National language shift tables as well)
  • UCS-2
  • 8-bit data

Message classes

The TP-DCS octet has a complex syntax to allow carrying of other information; the most notable are message classes:

Message Classes
ValueMessage Class
0 00 - Flash messages
0 11 - ME-specific
1 02 - SIM / USIM specific
1 13 - TE-specific

Flash messages are received by a mobile phone even though it has full memory. They are not stored in the phone, they just displayed on the phone display.

Other features

Automatic deletion after reading

The handset should delete any message received with a TP-DCS value falling to the "Message Marked for Automatic Deletion Coding Group" after user has read it.

Message waiting indication

Message Waiting Indication group of DCS values serves to set or reset flags indicating presence of unread voicemail, fax, e-mail or other messages.

Data compression

A special DCS value also allows message compression, but it perhaps is not used by any operator.

DCS values

SMS data coding scheme

The values of TP-DCS are defined in GSM recommendation 03.38.2

Coding Group: General Data Coding
DCShex decCharacter SetMessage ClassCompressedReserved Because
000GSM 7 bitDefault-
011GSM 7 bitDefault-Bits 1 and 0 have value 1 but no message class present
022GSM 7 bitDefault-Bits 1 and 0 have value 2 but no message class present
033GSM 7 bitDefault-Bits 1 and 0 have value 3 but no message class present
0448 bit dataDefault-
0558 bit dataDefault-Bits 1 and 0 have value 1 but no message class present
0668 bit dataDefault-Bits 1 and 0 have value 2 but no message class present
0778 bit dataDefault-Bits 1 and 0 have value 3 but no message class present
088UCS2Default-
099UCS2Default-Bits 1 and 0 have value 1 but no message class present
0A10UCS2Default-Bits 1 and 0 have value 2 but no message class present
0B11UCS2Default-Bits 1 and 0 have value 3 but no message class present
0C12(reserved)Default-Reserved character set
0D13(reserved)Default-Reserved character set

Bits 1 and 0 have value 1 but no message class present

0E14(reserved)Default-Reserved character set

Bits 1 and 0 have value 2 but no message class present

0F15(reserved)Default-Reserved character set

Bits 1 and 0 have value 3 but no message class present

1016GSM 7 bitClass 0 (Flash message)-
1117GSM 7 bitClass 1 (ME-specific)-
1218GSM 7 bitClass 2 (SIM/USIM-specific)-
1319GSM 7 bitClass 3 (TE-specific)-
14208 bit dataClass 0 (Flash message)-
15218 bit dataClass 1 (ME-specific)-
16228 bit dataClass 2 (SIM/USIM-specific)-
17238 bit dataClass 3 (TE-specific)-
1824UCS2Class 0 (Flash message)-
1925UCS2Class 1 (ME-specific)-
1A26UCS2Class 2 (SIM/USIM-specific)-
1B27UCS2Class 3 (TE-specific)-
1C28(reserved)Class 0 (Flash message)-Reserved character set
1D29(reserved)Class 1 (ME-specific)-Reserved character set
1E30(reserved)Class 2 (SIM/USIM-specific)-Reserved character set
1F31(reserved)Class 3 (TE-specific)-Reserved character set
2032GSM 7 bitDefault+
2133GSM 7 bitDefault+Bits 1 and 0 have value 1 but no message class present
2234GSM 7 bitDefault+Bits 1 and 0 have value 2 but no message class present
2335GSM 7 bitDefault+Bits 1 and 0 have value 3 but no message class present
24368 bit dataDefault+Compression set but Character set can't be compressed
25378 bit dataDefault+Compression set but Character set can't be compressed

Bits 1 and 0 have value 1 but no message class present

26388 bit dataDefault+Compression set but Character set can't be compressed

Bits 1 and 0 have value 2 but no message class present

27398 bit dataDefault+Compression set but Character set can't be compressed

Bits 1 and 0 have value 3 but no message class present

2840UCS2Default+Compression set but Character set can't be compressed
2941UCS2Default+Compression set but Character set can't be compressed

Bits 1 and 0 have value 1 but no message class present

2A42UCS2Default+Compression set but Character set can't be compressed

Bits 1 and 0 have value 2 but no message class present

2B43UCS2Default+Compression set but Character set can't be compressed

Bits 1 and 0 have value 3 but no message class present

2C44(reserved)Default+Reserved character set
2D45(reserved)Default+Reserved character set

Bits 1 and 0 have value 1 but no message class present

2E46(reserved)Default+Reserved character set

Bits 1 and 0 have value 1 but no message class present

2F47(reserved)Default+Reserved character set

Bits 1 and 0 have value 1 but no message class present

3048GSM 7 bitClass 0 (Flash message)+
3149GSM 7 bitClass 1 (ME-specific)+
3250GSM 7 bitClass 2 (SIM/USIM-specific)+
3351GSM 7 bitClass 3 (TE-specific)+
34528 bit dataClass 0 (Flash message)+Compression set but Character set can't be compressed
35538 bit dataClass 1 (ME-specific)+Compression set but Character set can't be compressed
36548 bit dataClass 2 (SIM/USIM-specific)+Compression set but Character set can't be compressed
37558 bit dataClass 3 (TE-specific)+Compression set but Character set can't be compressed
3856UCS2Class 0 (Flash message)+Compression set but Character set can't be compressed
3957UCS2Class 1 (ME-specific)+Compression set but Character set can't be compressed
3A58UCS2Class 2 (SIM/USIM-specific)+Compression set but Character set can't be compressed
3B59UCS2Class 3 (TE-specific)+Compression set but Character set can't be compressed
3C60(reserved)Class 0 (Flash message)+Reserved character set
3D61(reserved)Class 1 (ME-specific)+Reserved character set
3E62(reserved)Class 2 (SIM/USIM-specific)+Reserved character set
3F63(reserved)Class 3 (TE-specific)+Reserved character set
Coding Group: Message Marked for Automatic Deletion
DCShex decCharacter SetMessage ClassCompressedReserved Because
4064GSM 7 bitDefault-
4165GSM 7 bitDefault-Bits 1 and 0 have value 1 but no message class present
4266GSM 7 bitDefault-Bits 1 and 0 have value 2 but no message class present
4367GSM 7 bitDefault-Bits 1 and 0 have value 3 but no message class present
44688 bit dataDefault-
45698 bit dataDefault-Bits 1 and 0 have value 1 but no message class present
46708 bit dataDefault-Bits 1 and 0 have value 2 but no message class present
47718 bit dataDefault-Bits 1 and 0 have value 3 but no message class present
4872UCS2Default-
4973UCS2Default-Bits 1 and 0 have value 1 but no message class present
4A74UCS2Default-Bits 1 and 0 have value 2 but no message class present
4B75UCS2Default-Bits 1 and 0 have value 3 but no message class present
4C76(reserved)Default-Reserved character set
4D77(reserved)Default-Reserved character set

Bits 1 and 0 have value 1 but no message class present

4E78(reserved)Default-Reserved character set

Bits 1 and 0 have value 2 but no message class present

4F79(reserved)Default-Reserved character set

Bits 1 and 0 have value 3 but no message class present

5080GSM 7 bitClass 0 (Flash message)-
5181GSM 7 bitClass 1 (ME-specific)-
5282GSM 7 bitClass 2 (SIM/USIM-specific)-
5383GSM 7 bitClass 3 (TE-specific)-
54848 bit dataClass 0 (Flash message)-
55858 bit dataClass 1 (ME-specific)-
56868 bit dataClass 2 (SIM/USIM-specific)-
57878 bit dataClass 3 (TE-specific)-
5888UCS2Class 0 (Flash message)-
5989UCS2Class 1 (ME-specific)-
5A90UCS2Class 2 (SIM/USIM-specific)-
5B91UCS2Class 3 (TE-specific)-
5C92(reserved)Class 0 (Flash message)-Reserved character set
5D93(reserved)Class 1 (ME-specific)-Reserved character set
5E94(reserved)Class 2 (SIM/USIM-specific)-Reserved character set
5F95(reserved)Class 3 (TE-specific)-Reserved character set
6096GSM 7 bitDefault+
6197GSM 7 bitDefault+Bits 1 and 0 have value 1 but no message class present
6298GSM 7 bitDefault+Bits 1 and 0 have value 2 but no message class present
6399GSM 7 bitDefault+Bits 1 and 0 have value 3 but no message class present
641008 bit dataDefault+Compression set but Character set can't be compressed
651018 bit dataDefault+Compression set but Character set can't be compressed

Bits 1 and 0 have value 1 but no message class present

661028 bit dataDefault+Compression set but Character set can't be compressed

Bits 1 and 0 have value 2 but no message class present

671038 bit dataDefault+Compression set but Character set can't be compressed

Bits 1 and 0 have value 3 but no message class present

68104UCS2Default+Compression set but Character set can't be compressed
69105UCS2Default+Compression set but Character set can't be compressed

Bits 1 and 0 have value 1 but no message class present

6A106UCS2Default+Compression set but Character set can't be compressed

Bits 1 and 0 have value 2 but no message class present

6B107UCS2Default+Compression set but Character set can't be compressed

Bits 1 and 0 have value 3 but no message class present

6C108(reserved)Default+Reserved character set
6D109(reserved)Default+Reserved character set

Bits 1 and 0 have value 1 but no message class present

6E110(reserved)Default+Reserved character set

Bits 1 and 0 have value 2 but no message class present

6F111(reserved)Default+Reserved character set

Bits 1 and 0 have value 3 but no message class present

70112GSM 7 bitClass 0 (Flash message)+
71113GSM 7 bitClass 1 (ME-specific)+
72114GSM 7 bitClass 2 (SIM/USIM-specific)+
73115GSM 7 bitClass 3 (TE-specific)+
741168 bit dataClass 0 (Flash message)+Compression set but Character set can't be compressed
751178 bit dataClass 1 (ME-specific)+Compression set but Character set can't be compressed
761188 bit dataClass 2 (SIM/USIM-specific)+Compression set but Character set can't be compressed
771198 bit dataClass 3 (TE-specific)+Compression set but Character set can't be compressed
78120UCS2Class 0 (Flash message)+Compression set but Character set can't be compressed
79121UCS2Class 1 (ME-specific)+Compression set but Character set can't be compressed
7A122UCS2Class 2 (SIM/USIM-specific)+Compression set but Character set can't be compressed
7B123UCS2Class 3 (TE-specific)+Compression set but Character set can't be compressed
7C124(reserved)Class 0 (Flash message)+Reserved character set
7D125(reserved)Class 1 (ME-specific)+Reserved character set
7E126(reserved)Class 2 (SIM/USIM-specific)+Reserved character set
7F127(reserved)Class 3 (TE-specific)+Reserved character set
Coding Group: Reserved
DCShex decCharacter SetMessage ClassCompressedReserved Because
80128(not defined)Default-Reserved coding group
... up to ...
BF191(not defined)Default-Reserved coding group
Coding Group: Message Waiting Info: Discard Message
DCShex decCharacter SetMessage Waiting InformationCompressedReserved Because
C0192(not defined)Voicemail Inactive-
C1193(not defined)Fax Inactive-
C2194(not defined)E-mail Inactive-
C3195(not defined)Other Inactive-
C4196(not defined)Voicemail Inactive-Value of bit 2
C5197(not defined)Fax Inactive-Value of bit 2
C6198(not defined)E-mail Inactive-Value of bit 2
C7199(not defined)Other Inactive-Value of bit 2
C8200(not defined)Voicemail Active-
C9201(not defined)Fax Active-
CA202(not defined)E-mail Active-
CB203(not defined)Other Active-
CC204(not defined)Voicemail Active-Value of bit 2
CD205(not defined)Fax Active-Value of bit 2
CE206(not defined)E-mail Active-Value of bit 2
CF207(not defined)Other Active-Value of bit 2
Coding Group: Message Waiting Info: Store Message
DCShex decCharacter SetMessage Waiting InformationCompressedReserved Because
D0208GSM 7 bitVoicemail Inactive-
D1209GSM 7 bitFax Inactive-
D2210GSM 7 bitE-mail Inactive-
D3211GSM 7 bitOther Inactive-
D4212GSM 7 bitVoicemail Inactive-Value of bit 2
D5213GSM 7 bitFax Inactive-Value of bit 2
D6214GSM 7 bitE-mail Inactive-Value of bit 2
D7215GSM 7 bitOther Inactive-Value of bit 2
D8216GSM 7 bitVoicemail Active-
D9217GSM 7 bitFax Active-
DA218GSM 7 bitE-mail Active-
DB219GSM 7 bitOther Active-
DC220GSM 7 bitVoicemail Active-Value of bit 2
DD221GSM 7 bitFax Active-Value of bit 2
DE222GSM 7 bitE-mail Active-Value of bit 2
DF223GSM 7 bitOther Active-Value of bit 2
E0224UCS2Voicemail Inactive-
E1225UCS2Fax Inactive-
E2226UCS2E-mail Inactive-
E3227UCS2Other Inactive-
E4228UCS2Voicemail Inactive-Value of bit 2
E5229UCS2Fax Inactive-Value of bit 2
E6230UCS2E-mail Inactive-Value of bit 2
E7231UCS2Other Inactive-Value of bit 2
E8232UCS2Voicemail Active-
E9233UCS2Fax Active-
EA234UCS2E-mail Active-
EB235UCS2Other Active-
EC236UCS2Voicemail Active-Value of bit 2
ED237UCS2Fax Active-Value of bit 2
EE238UCS2E-mail Active-Value of bit 2
EF239UCS2Other Active-Value of bit 2
Coding Group: Data Coding/Message Class
DCShex decCharacter SetMessage ClassCompressedReserved Because
F0240GSM 7 bitClass 0 (Flash message)-
F1241GSM 7 bitClass 1 (ME-specific)-
F2242GSM 7 bitClass 2 (SIM/USIM-specific)-
F3243GSM 7 bitClass 3 (TE-specific)-
F42448 bit dataClass 0 (Flash message)-
F52458 bit dataClass 1 (ME-specific)-
F62468 bit dataClass 2 (SIM/USIM-specific)-
F72478 bit dataClass 3 (TE-specific)-
F8248GSM 7 bitClass 0 (Flash message)-Value of bit 3
F9249GSM 7 bitClass 1 (ME-specific)-Value of bit 3
FA250GSM 7 bitClass 2 (SIM/USIM-specific)-Value of bit 3
FB251GSM 7 bitClass 3 (TE-specific)-Value of bit 3
FC2528 bit dataClass 0 (Flash message)-Value of bit 3
FD2538 bit dataClass 1 (ME-specific)-Value of bit 3
FE2548 bit dataClass 2 (SIM/USIM-specific)-Value of bit 3
FF2558 bit dataClass 3 (TE-specific)-Value of bit 3

iDEN mobile standard uses values F716 and F816 in a special way.

CBS data coding scheme

For the DCS values in Cell Broadcast Messages see GSM recommendation 03.38.3

See also

References

  1. 3GPP TS 23.038, Alphabets and language-specific information. http://www.3gpp.org/ftp/Specs/html-info/23038.htm

  2. 3GPP TS 23.038, Alphabets and language-specific information. http://www.3gpp.org/ftp/Specs/html-info/23038.htm

  3. 3GPP TS 23.038, Alphabets and language-specific information. http://www.3gpp.org/ftp/Specs/html-info/23038.htm