|
| enum | Flags { XmlDumpMsg = 0x01
, XmlDumpIEs = 0x02
, MSCoder = 0x04
} |
| |
| enum | Status {
NoError = 0
, MsgTooShort
, UnknownProto
, ParserErr
,
MissingParam
, IncorrectOptionalIE
, IncorrectMandatoryIE
, MissingMandatoryIE
,
UnknownMsgType
} |
| |
| enum | Protocol {
GCC = 0x00
, BCC = 0x01
, EPS_SM = 0x02
, CC = 0x03
,
GTTP = 0x04
, MM = 0x05
, RRM = 0x06
, EPS_MM = 0x07
,
GPRS_MM = 0x08
, SMS = 0x09
, GPRS_SM = 0x0a
, SS = 0x0b
,
LCS = 0x0c
, Extension = 0x0e
, Test = 0x0f
, Unknown = 0xff
} |
| |
| enum | Type {
NoType = 0
, T
, V
, TV
,
LV
, TLV
, LVE
, TLVE
} |
| |
| enum | XmlType { Skip
, XmlElem
, XmlRoot
} |
| |
| enum | EPSSecurityHeader {
PlainNAS = 0x00
, IntegrityProtect = 0x01
, IntegrityProtectCiphered = 0x02
, IntegrityProtectNewEPSCtxt = 0x03
,
IntegrityProtectCipheredNewEPSCtxt = 0x04
, ServiceRequestHeader = 0xa0
} |
| |
◆ EPSSecurityHeader
◆ Flags
◆ Protocol
Protocol discriminator according to ETSI TS 124 007 V11.0.0, section 11.2.3.1.1
◆ Status
◆ Type
◆ XmlType
Type of XML data to generate
◆ GSML3Codec()
◆ dbg()
◆ decode() [1/2]
| unsigned int decode |
( |
const uint8_t * |
in, |
|
|
unsigned int |
len, |
|
|
XmlElement *& |
out, |
|
|
const NamedList & |
params = NamedList::empty() |
|
) |
| |
Decode layer 3 message payload
- Parameters
-
| in | Input buffer containing the data to be decoded |
| len | Length of input buffer |
| out | XmlElement into which the decoded data is returned |
| params | Encoder parameters |
- Returns
- Parsing result: 0 (NoError) if succeeded, error status otherwise
◆ decode() [2/2]
Decode layer 3 message from an existing XML
- Parameters
-
| xml | XML which contains layer 3 messages to decode and into which the decoded XML will be put |
| params | Decoder parameters |
- Returns
- Parsing result: 0 (NoError) if succeeded, error status otherwise
◆ decodeGSM7Bit()
| static void decodeGSM7Bit |
( |
unsigned char * |
buf, |
|
|
unsigned int |
len, |
|
|
String & |
text, |
|
|
unsigned int |
heptets = (unsigned int) -1 |
|
) |
| |
|
static |
Decode GSM 7bit buffer
- Parameters
-
| buf | Input buffer |
| len | Input buffer length |
| text | Destination text |
| heptets | Maximum number of heptets in buffer |
◆ encode() [1/2]
Encode a layer 3 message
- Parameters
-
| in | Layer 3 message in XML form |
| out | Output buffer into which to put encoded data |
| params | Encoder parameters |
- Returns
- Parsing result: 0 (NoError) if succeeded, error status otherwise
◆ encode() [2/2]
Encode a layer 3 message from an existing XML
- Parameters
-
| xml | XML which contains a layer 3 message in XML form. The message will be replaced with its encoded buffer |
| params | Encoder parameters |
- Returns
- Parsing result: 0 (NoError) if succeeded, error status otherwise
◆ encodeGSM7Bit()
Encode GSM 7bit buffer
- Parameters
-
| text | Input text |
| buf | Destination buffer |
- Returns
- True if all characters were encoded correctly
◆ flags()
Retrieve codec flags
- Returns
- Codec flags
◆ printDbg()
Get printing of debug messages flag
- Returns
- True if debugging is activated, false otherwise
◆ ptr()
Retrieve the codec pointer used for debug messages
- Returns
- Codec pointer used for debug messages
◆ resetFlags()
| void resetFlags |
( |
uint8_t |
flgs = 0 | ) |
|
|
inline |
Reset codec flags
- Parameters
-
| flgs | Flags to reset. If 0, all flags are reset |
◆ setCodecDebug()
| void setCodecDebug |
( |
DebugEnabler * |
enabler = 0, |
|
|
void * |
ptr = 0 |
|
) |
| |
Set data used in debug
- Parameters
-
| enabler | The DebugEnabler to use (0 to to use the engine) |
| ptr | Pointer to print, 0 to use the codec pointer |
◆ setFlags()
| void setFlags |
( |
uint8_t |
flgs, |
|
|
bool |
reset = false |
|
) |
| |
|
inline |
Set codec flags
- Parameters
-
| flgs | Flags to set |
| reset | Reset flags before setting these ones |
◆ setPrintDbg()
| void setPrintDbg |
( |
bool |
on = false | ) |
|
|
inline |
Activate printing of debug messages
- Parameters
-
| on | True to activate, false to disable |
◆ s_errorsDict
◆ s_gmmRejectCause
GPRS Mobility Management reject causes dictionary
◆ s_mmRejectCause
Mobility Management reject causes dictionary
◆ s_protoDict
◆ s_securityHeaders
EPS Security Headers dictionary
◆ s_typeDict
The documentation for this class was generated from the following file: