TSmsProtocolIdentifier Class Reference

class TSmsProtocolIdentifier : public TSmsOctet

TP-PID PDU octet. Found in ALL 6 message types.

Inherits from

Public Member Functions
TSmsProtocolIdentifier()
TSmsPIDType PIDType()
voidSetPIDType(TSmsPIDType)
voidSetShortMessageALProtocol(TSmsShortMessageALProtocol)
voidSetShortMessageType(TSmsShortMessageType)
voidSetTelematicDeviceIndicator(TSmsTelematicDeviceIndicator)
voidSetTelematicDeviceType(TSmsTelematicDeviceType)
TInt ShortMessageALProtocol()
TInt ShortMessageType()
TSmsTelematicDeviceIndicator TelematicDeviceIndicator()
TSmsTelematicDeviceType TelematicDeviceType()
Inherited Functions
TSmsOctet::DecodeL(TGsmuLex8 &)
TSmsOctet::EncodeL(TUint8 *)const
TSmsOctet::ExternalizeL(RWriteStream &)const
TSmsOctet::FillSemiOctets(TInt)
TSmsOctet::InternalizeL(RReadStream &)
TSmsOctet::SemiOctetsToNum()const
TSmsOctet::TSmsOctet(TInt)
TSmsOctet::TSmsOctet(TUint8)
TSmsOctet::operator TInt()const
TSmsOctet::operator=(TInt)
Public Member Enumerations
enumTSmsPIDType { ESmsPIDTelematicInterworking = 0x00, ESmsPIDShortMessageType = 0x40, ESmsPIDReserved = 0x80, ESmsPIDSCSpecificUse = 0xC0, ESmsPIDTypeMask = 0xC0 }
enumTSmsShortMessageALProtocol { ESmsShortMessageALProtocolMask = 0x0F }
enumTSmsShortMessageType {
ESmsShortMessageType0 = 0x00, ESmsReplaceShortMessageType1 = 0x01, ESmsReplaceShortMessageType2 = 0x02, ESmsReplaceShortMessageType3 = 0x03, ESmsReplaceShortMessageType4 = 0x04, ESmsReplaceShortMessageType5 = 0x05, ESmsReplaceShortMessageType6 = 0x06, ESmsReplaceShortMessageType7 = 0x07, ESmsReturnCallMesage = 0x1F, ESmsAnsi136RData = 0x3C, ESmsMEDataDownload = 0x3D, ESmsMEDepersonalizationShortMessage = 0x3E, ESmsSIMDataDownLoad = 0x3F, ESmsShortMessageTypeMask = 0x3F
}
enumTSmsTelematicDeviceIndicator { ESmsNoTelematicDevice = 0x00, ESmsTelematicDevice = 0x20, EPIDTelematicDeviceIndicatorMask = 0x20 }
enumTSmsTelematicDeviceType {
ESmsSCSpecificDevice = 0x00, ESmsTelex = 0x01, ESmsGroup3TeleFax = 0x02, ESmsGroup4TeleFax = 0x03, ESmsVoiceTelephone = 0x04, ESmsERMES = 0x05, ESmsNationalPagingSystem = 0x06, ESmsVideotex = 0x07, ESmsTeletexCarrierUnspecified = 0x08, ESmsTeletexPSPDN = 0x09, ESmsTeletexCSPDN = 0x0A, ESmsTeletexAnaloguePSTN = 0x0B, ESmsTeletexDigitalISDN = 0x0C, ESmsUCI = 0x0D, ESmsReserved1 = 0x0E, ESmsReserved2 = 0x0F, ESmsMessageHandlingFacility = 0x10, ESmsX400MessageHandlingSystem = 0x11, ESmsInternetElectronicMail = 0x12, ESmsReserved3 = 0x13, ESmsReserved4 = 0x14, ESmsReserved5 = 0x15, ESmsReserved6 = 0x16, ESmsReserved7 = 0x17, ESmsSCSpecific1 = 0x18, ESmsSCSpecific2 = 0x19, ESmsSCSpecific3 = 0x1A, ESmsSCSpecific4 = 0x1B, ESmsSCSpecific5 = 0x1C, ESmsSCSpecific6 = 0x1D, ESmsSCSpecific7 = 0x1E, ESmsGsmMobileStation = 0x1F, ESmsTelematicDeviceTypeMask = 0x1F
}
Inherited Attributes
TSmsOctet::iValue

Constructor & Destructor Documentation

TSmsProtocolIdentifier()

TSmsProtocolIdentifier()

Member Functions Documentation

PIDType()

TSmsPIDType PIDType()const [inline]

Gets the Protocol ID type.

Protocol ID type

SetPIDType(TSmsPIDType)

voidSetPIDType(TSmsPIDTypeaSmsPIDType)[inline]

Sets the Protocol ID type.

Parameters

TSmsPIDType aSmsPIDTypeProtocol ID type

SetShortMessageALProtocol(TSmsShortMessageALProtocol)

voidSetShortMessageALProtocol(TSmsShortMessageALProtocolaProtocol)

Parameters

TSmsShortMessageALProtocol aProtocol

SetShortMessageType(TSmsShortMessageType)

voidSetShortMessageType(TSmsShortMessageTypeaShortMessageType)

Parameters

TSmsShortMessageType aShortMessageType

SetTelematicDeviceIndicator(TSmsTelematicDeviceIndicator)

voidSetTelematicDeviceIndicator(TSmsTelematicDeviceIndicatoraIndicator)

Parameters

TSmsTelematicDeviceIndicator aIndicator

SetTelematicDeviceType(TSmsTelematicDeviceType)

voidSetTelematicDeviceType(TSmsTelematicDeviceTypeaDeviceType)

Parameters

TSmsTelematicDeviceType aDeviceType

ShortMessageALProtocol()

TInt ShortMessageALProtocol()const

ShortMessageType()

TInt ShortMessageType()const

TelematicDeviceIndicator()

TSmsTelematicDeviceIndicator TelematicDeviceIndicator()const

TelematicDeviceType()

TSmsTelematicDeviceType TelematicDeviceType()const

Member Enumerations Documentation

Enum TSmsPIDType

PID bits 7-6, which determine the meaning of the lower order bits.

Enumerators

ESmsPIDTelematicInterworking = 0x00

Telematic interworking.

ESmsPIDShortMessageType = 0x40

Short message.

ESmsPIDReserved = 0x80

Reserved.

ESmsPIDSCSpecificUse = 0xC0

SC specific use.

ESmsPIDTypeMask = 0xC0

Mask of bits 7-6.

Enum TSmsShortMessageALProtocol

SM-AL protocol flag. No Telematic Interworking. Bits 4-0 - When Bit 5 = 0

Enumerators

ESmsShortMessageALProtocolMask = 0x0F

Mask for SM-AL protocol flag bit.

Enum TSmsShortMessageType

Short Message Type flags. Bits 5-0 - When Bit 7 = 1, Bit 6 = 0

Enumerators

ESmsShortMessageType0 = 0x00

Short Message Type 0.

ESmsReplaceShortMessageType1 = 0x01

Replace Short Message Type 1.

ESmsReplaceShortMessageType2 = 0x02

Replace Short Message Type 2.

ESmsReplaceShortMessageType3 = 0x03

Replace Short Message Type 3.

ESmsReplaceShortMessageType4 = 0x04

Replace Short Message Type 4.

ESmsReplaceShortMessageType5 = 0x05

Replace Short Message Type 5.

ESmsReplaceShortMessageType6 = 0x06

Replace Short Message Type 6.

ESmsReplaceShortMessageType7 = 0x07

Replace Short Message Type 7.

ESmsReturnCallMesage = 0x1F

Return Call Message.

ESmsAnsi136RData = 0x3C
ESmsMEDataDownload = 0x3D
ESmsMEDepersonalizationShortMessage = 0x3E

ME De-personalization Short Message.

ESmsSIMDataDownLoad = 0x3F

ME Data download.

ESmsShortMessageTypeMask = 0x3F

Mask for Short Message type bits.

Enum TSmsTelematicDeviceIndicator

Telematic device indicator flags. Bit 5 - When Bit 7 = 0, Bit 6 = 0

Enumerators

ESmsNoTelematicDevice = 0x00

No telematic device.

ESmsTelematicDevice = 0x20

Telematic device.

EPIDTelematicDeviceIndicatorMask = 0x20

Telematic device indicator mask.

Enum TSmsTelematicDeviceType

Telematic Interworking device type flags. Bits 4-0 - When Bit 5 = 1

Enumerators

ESmsSCSpecificDevice = 0x00

Device type is specific to this SC.

ESmsTelex = 0x01

Telex.

ESmsGroup3TeleFax = 0x02

Group 3 telefax.

ESmsGroup4TeleFax = 0x03

Group 4 telefax.

ESmsVoiceTelephone = 0x04

Voice telephone.

ESmsERMES = 0x05

ERMES.

ESmsNationalPagingSystem = 0x06

National Paging System.

ESmsVideotex = 0x07

Videotex.

ESmsTeletexCarrierUnspecified = 0x08

Teletex, carrier unspecified.

ESmsTeletexPSPDN = 0x09

Teletex, PSPDN.

ESmsTeletexCSPDN = 0x0A

Teletex, CSPDN.

ESmsTeletexAnaloguePSTN = 0x0B

Teletex, in analog PSTN.

ESmsTeletexDigitalISDN = 0x0C

Teletex, in digital ISDN

ESmsUCI = 0x0D

UCI (Universal Computer Interface, ETSI DE/PS 3 01-3).

ESmsReserved1 = 0x0E

Reserved.

ESmsReserved2 = 0x0F

Reserved.

ESmsMessageHandlingFacility = 0x10

A message handling facility.

ESmsX400MessageHandlingSystem = 0x11

X.400 message handling system.

ESmsInternetElectronicMail = 0x12

Internet Electronic Mail.

ESmsReserved3 = 0x13

Reserved.

ESmsReserved4 = 0x14

Reserved.

ESmsReserved5 = 0x15

Reserved.

ESmsReserved6 = 0x16

Reserved.

ESmsReserved7 = 0x17

Reserved.

ESmsSCSpecific1 = 0x18

Value specific to each SC.

ESmsSCSpecific2 = 0x19

Value specific to each SC.

ESmsSCSpecific3 = 0x1A

Value specific to each SC.

ESmsSCSpecific4 = 0x1B

Value specific to each SC.

ESmsSCSpecific5 = 0x1C

Value specific to each SC.

ESmsSCSpecific6 = 0x1D

Value specific to each SC.

ESmsSCSpecific7 = 0x1E

Value specific to each SC.

ESmsGsmMobileStation = 0x1F

Value specific to each SC.

ESmsTelematicDeviceTypeMask = 0x1F

Mask for telematic device type bits.