#include <gsmuelem.h>
class TSmsParameterIndicator : public TSmsOctet |
Public Member Enumerations | |
---|---|
enum | TSmsPIBits { ESmsPIDProtocolIdentifierPresent, ESmsPIDDataCodingSchemePresent, ESmsPIDUserDataPresent, ESmsPIDReserved1, ..., ESmsPIDExtension } |
Public Member Functions | |
---|---|
TSmsParameterIndicator() | |
TBool | DataCodingSchemePresent() |
TBool | Extension() |
TBool | ProtocolIdentifierPresent() |
void | SetDataCodingSchemePresent(TBool) |
void | SetExtension(TBool) |
void | SetProtocolIdentifierPresent(TBool) |
void | SetUserDataPresent(TBool) |
TBool | UserDataPresent() |
Inherited Attributes | |
---|---|
TSmsOctet::iValue |
TP-PI octet. Found in Reports and Commands
TP-PI bit flags.
Enumerator | Value | Description |
---|---|---|
ESmsPIDProtocolIdentifierPresent | 0x01 |
Protocol identifier present. |
ESmsPIDDataCodingSchemePresent | 0x02 |
Data coding scheme present. |
ESmsPIDUserDataPresent | 0x04 |
User data present. |
ESmsPIDReserved1 | 0x08 |
Reserved. |
ESmsPIDReserved2 | 0x10 |
Reserved. |
ESmsPIDReserved3 | 0x20 |
Reserved. |
ESmsPIDReserved4 | 0x40 |
Reserved. |
ESmsPIDExtension | 0x80 |
Extension. |
TBool | DataCodingSchemePresent | ( | ) | const [inline] |
Tests data coding scheme present flag.
Returns: True to indicate Data Coding Scheme present
TBool | Extension | ( | ) | const [inline] |
Tests if the extension flag is set.
Returns: True if data contains a PID extension
TBool | ProtocolIdentifierPresent | ( | ) | const [inline] |
Tests protocol identifier present flag.
Returns: True to indicate Protocol ID present
void | SetDataCodingSchemePresent | ( | TBool | aPresent | ) | [inline] |
Sets data coding scheme present flag.
Parameter | Description |
---|---|
aPresent | Set to True/False to indicate/clear Data Coding Scheme present |
void | SetExtension | ( | TBool | aExtension | ) | [inline] |
Sets extension flag.
Parameter | Description |
---|---|
aExtension | Extension flag |
void | SetProtocolIdentifierPresent | ( | TBool | aPresent | ) | [inline] |
Sets protocol identifier present flag.
Parameter | Description |
---|---|
aPresent | PSet to True/False to indicate/clear Protocol ID present |
void | SetUserDataPresent | ( | TBool | aPresent | ) | [inline] |
Sets user data present flag.
Parameter | Description |
---|---|
aPresent | Set to True/False to indicate/clear User Data |
TBool | UserDataPresent | ( | ) | const [inline] |
Tests user data present flag.
Returns: True if User Data is indicated