class TSmsDataCodingScheme : public TSmsOctet |
TP-DCS Data Coding Scheme defined in 3GPP TS 23.038.
The data coding scheme is not always present in an GSM SMS PDU (CSmsPDU). It is always present for a SUBMIT (CSmsSubmit) and a DELIVER (CSmsDeliver), and is sometimes present for a DELIVER REPORT (CSmsDeliverReport), a SUBMIT REPORT (CSmsSubmitReport) or a STATUS REPORT (CSmsStatusReport), depending on the parameter indicator (TSmsParameterIndicator).
Public Member Functions | |
---|---|
TSmsDataCodingScheme() | |
TSmsAlphabet | Alphabet() |
TSmsDCSBits7To4 | Bits7To4() |
TBool | Class(TSmsClass &) |
TSmsIndicationState | IndicationState() |
TSmsIndicationType | IndicationType() |
void | SetAlphabet(TSmsAlphabet) |
void | SetBits7To4(TSmsDCSBits7To4) |
void | SetClass(TBool, TSmsClass) |
void | SetIndicationState(TSmsIndicationState) |
void | SetIndicationType(TSmsIndicationType) |
void | SetTextCompressed(TBool) |
TBool | TextCompressed() |
Inherited Attributes | |
---|---|
TSmsOctet::iValue |
TSmsDCSBits7To4 | Bits7To4 | ( | ) | const [inline] |
Gets bits 7 - 4 of the Data Coding Scheme.
Bits 7 - 4 of the Data Coding Scheme
void | SetBits7To4 | ( | TSmsDCSBits7To4 | aBits7To4 | ) | [inline] |
Sets bits 7 - 4 of the Data Coding Scheme.
TSmsDCSBits7To4 aBits7To4 | Bits 7 - 4 of the Data Coding Scheme |
void | SetIndicationState | ( | TSmsIndicationState | aState | ) |
TSmsIndicationState aState |
void | SetIndicationType | ( | TSmsIndicationType | aType | ) |
TSmsIndicationType aType |
Message Marked for Automatic Deletion
ESmsDCSAutomaticDeletion = 0x40 | |
ESmsDCSAutomaticDeletionMask = 0xC0 |
Alphabet bit flags.
ESmsAlphabet7Bit = 0x00 |
GSM 7 bit default alphabet. |
ESmsAlphabet8Bit = 0x04 |
8-bit data. |
ESmsAlphabetUCS2 = 0x08 |
UCS2. |
ESmsAlphabetReserved = 0x0C |
Reserved. |
ESmsAlphabetMask = 0x0C |
Mask for these bit flags. |
Message Class bit flags.
ESmsClass0 = 0x00 |
Class 0. |
ESmsClass1 = 0x01 |
Class 1. |
ESmsClass2 = 0x02 |
Class 2. |
ESmsClass3 = 0x03 |
Class 3. |
ESmsClassMask = 0x03 |
Mask for these bit flags. |
Flags for bits 7-4, which determine the meaning of the lower order bits.
ESmsDCSTextUncompressedWithNoClassInfo = 0x00 |
Text is uncompressed, no class information. |
ESmsDCSTextUncompressedWithClassInfo = 0x10 |
Text is uncompressed, class information present. |
ESmsDCSTextCompressedWithNoClassInfo = 0x20 |
Text is compressed, no class information. |
ESmsDCSTextCompressedWithClassInfo = 0x30 |
Text is compressed, class information present. |
ESmsDCSAutoDelNoClassInfoUncompressedText = 0x40 |
Auto Deletion, Text is uncompressed, no class information. |
ESmsDCSAutoDelClassInfoUncompressedText = 0x50 |
Auto Deletion, Text is uncompressed, class information present. |
ESmsDCSAutoDelNoClassInfoCompressedText = 0x60 |
Auto Deletion, Text is compressed, no class information. |
ESmsDCSAutoDelClassInfoTextCompressedText = 0x70 |
Auto Deletion, Text is compressed, class information present. |
ESmsDCSReserved1 = 0x40 |
Reserved. |
ESmsDCSReserved2 = 0x50 |
Reserved. |
ESmsDCSReserved3 = 0x60 |
Reserved. |
ESmsDCSReserved4 = 0x70 |
Reserved. |
ESmsDCSReserved5 = 0x80 |
Reserved. |
ESmsDCSReserved6 = 0x90 |
Reserved. |
ESmsDCSReserved7 = 0xA0 |
Reserved. |
ESmsDCSReserved8 = 0xB0 |
Reserved. |
ESmsDCSMessageWaitingIndicationDiscardMessage = 0xC0 |
Message Waiting Indication Group: Discard Message. |
ESmsDCSMessageWaitingIndication7Bit = 0xD0 |
Message Waiting Indication Group (7 bit). |
ESmsDCSMessageWaitingIndicationUCS2 = 0xE0 |
Message Waiting Indication Group (UCS2). |
ESmsDCSTextUncompressed7BitOr8Bit = 0xF0 |
Text uncompressed, 7 bit or 8 bit. |
ESmsDCSBits7To4Mask = 0xF0 |
Masks bits 7 to 4. |
Indication Sense bit flags.
ESmsIndicationInactive = 0x00 |
Indication inactive. |
ESmsIndicationActive = 0x08 |
Indication active. |
ESmsIndicationStateMask = 0x08 |
Mask for these bit flags. |
Indication Type bit flags.
ESmsVoicemailMessageWaiting = 0x00 |
Voicemail Message Waiting. |
ESmsFaxMessageWaiting = 0x01 |
Fax Message Waiting. |
ESmsElectronicMailMessageWaiting = 0x02 |
Electronic Mail Message Waiting. |
ESmsFaxOtherMessageWaiting = 0x03 |
Other Message Waiting. |
ESmsIndicationTypeMask = 0x03 |
Mask for these bit flags. |