TSmsFirstOctet Class Reference

class TSmsFirstOctet : public TSmsOctet

Bit masks for key first octet of an SMS PDU

Inherits from

Public Member Functions
TSmsFirstOctet ( TInt )
const TSmsFirstOctet & operator= ( TInt )
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
Public Member Enumerations
enum TSmsMTI { ESmsMTIDeliverOrDeliverReport  = 0x00, ESmsMTISubmitOrSubmitReport  = 0x01, ESmsMTIStatusReportOrCommand  = 0x02, ESmsMTIMask  = 0x03 }
enum TSmsMoreMessagesToSend { ESmsMoreMessagesToSend  = 0x00, ESmsNoMoreMessagesToSend  = 0x04, ESmsMoreMessagesToSendMask  = 0x04 }
enum TSmsRejectDuplicates { ESmsAcceptDuplicates  = 0x00, ESmsRejectDuplicates  = 0x04, ESmsRejectDuplicatesMask  = 0x04 }
enum TSmsReplyPath { ESmsReplyPathNone  = 0x00, ESmsReplyPathExists  = 0x080, ESmsReplyPathMask  = 0x80 }
enum TSmsStatusReportIndicator { ESmsStatusReportNotReturned  = 0x00, ESmsStatusReportReturned  = 0x20, ESmsStatusReportIndicatorMask  = 0x20 }
enum TSmsStatusReportQualifier { ESmsStatusReportResultOfSubmit  = 0x00, ESmsStatusReportResultOfCommand  = 0x20, ESmsStatusReportQualifierMask  = 0x20 }
enum TSmsStatusReportRequest { ESmsStatusReportNotRequested  = 0x00, ESmsStatusReportRequested  = 0x20, ESmsStatusReportRequestMask  = 0x20 }
enum TSmsUDHI { ESmsUDHIHeaderNotPresent  = 0x00, ESmsUDHIHeaderPresent  = 0x40, ESmsUDHIMask  = 0x40 }
enum TSmsValidityPeriodFormat { ESmsVPFNone  = 0x00, ESmsVPFEnhanced  = 0x08, ESmsVPFInteger  = 0x10, ESmsVPFSemiOctet  = 0x18, ESmsVPFMask  = 0x18 }
Inherited Attributes
TSmsOctet::iValue

Constructor & Destructor Documentation

TSmsFirstOctet(TInt)

TSmsFirstOctet ( TInt aValue = 0 )

Parameters

TInt aValue = 0

Member Functions Documentation

operator=(TInt)

const TSmsFirstOctet & operator= ( TInt aValue )

Parameters

TInt aValue

Member Enumerations Documentation

Enum TSmsMTI

TP-MTI (Message Type Indicator) First octet of all SMS PDUs.

Enumerators

ESmsMTIDeliverOrDeliverReport = 0x00

SMS-DELIVER or SMS-DELIVER-REPORT message.

ESmsMTISubmitOrSubmitReport = 0x01

SMS-SUBMIT or SMS-SUBMIT-REPORT message.

ESmsMTIStatusReportOrCommand = 0x02

SMS-STATUS or SMS-COMMAND message.

ESmsMTIMask = 0x03

Mask for these bit flags.

Enum TSmsMoreMessagesToSend

TP-MMS (More Messages To Send) Found in Deliver and Status Report.

Enumerators

ESmsMoreMessagesToSend = 0x00

More messages to send.

ESmsNoMoreMessagesToSend = 0x04

No more messages to send.

ESmsMoreMessagesToSendMask = 0x04

Mask for these bit flags.

Enum TSmsRejectDuplicates

TP-RD bit flags. T-RD (Reject Duplicates) Found in Submit

Enumerators

ESmsAcceptDuplicates = 0x00

Accept duplicates.

ESmsRejectDuplicates = 0x04

Reject duplicates.

ESmsRejectDuplicatesMask = 0x04

Mask for these bit flags.

Enum TSmsReplyPath

TP-RP (Reply Path) Found in first octet of Submit and Deliver.

Enumerators

ESmsReplyPathNone = 0x00

Reply path does not exist.

ESmsReplyPathExists = 0x080

Reply path exists.

ESmsReplyPathMask = 0x80

Mask for these bit flags.

Enum TSmsStatusReportIndicator

T-SRI (Status Report Indicator) Found in Status Report.

Enumerators

ESmsStatusReportNotReturned = 0x00

Status report is not going to be returned.

ESmsStatusReportReturned = 0x20

Status report is going to be returned.

ESmsStatusReportIndicatorMask = 0x20

Mask for these bit flags.

Enum TSmsStatusReportQualifier

T-SRQ (Status Report Qualifier). Found in Status Report.

Enumerators

ESmsStatusReportResultOfSubmit = 0x00

Status report result of submit.

ESmsStatusReportResultOfCommand = 0x20

Status report result of command.

ESmsStatusReportQualifierMask = 0x20

Mask for these bit flags.

Enum TSmsStatusReportRequest

TP-SRR (Status Report Request) Found in Submit and Command.

Enumerators

ESmsStatusReportNotRequested = 0x00

Status report is not requested.

ESmsStatusReportRequested = 0x20

Status report is requested.

ESmsStatusReportRequestMask = 0x20

Mask for these bit flags.

Enum TSmsUDHI

TP-UDHI ( User Data Header Indicator) Found in first octet of Submit and Deliver and possibly, Deliver Report and Status Report.

Enumerators

ESmsUDHIHeaderNotPresent = 0x00

User data header indicator not present.

ESmsUDHIHeaderPresent = 0x40

User data header indicator present.

ESmsUDHIMask = 0x40

Mask for these bit flags.

Enum TSmsValidityPeriodFormat

TP-VPF (Validity Period Format). Found in Submit.

Enumerators

ESmsVPFNone = 0x00

TP-VP field not present.

ESmsVPFEnhanced = 0x08

TP-VP field present. Enhanced format (7 octets).

ESmsVPFInteger = 0x10

TP-VP field present, relative validity format.

ESmsVPFSemiOctet = 0x18

TP-VP field present, absolute validity format.

ESmsVPFMask = 0x18

Mask for these bit flags.