SWI_STRUCT_SMS_RetrieveHeader Struct Reference

#include <SwiStructsGsm.h>

List of all members.

Public Attributes

U32 sizeStruct
U32 nResultCode
SWI_TYPE_SMS_Status recordStatus
SWI_TYPE_SMS_Address eSCAddress
SWI_TYPE_SMS_AddressNumbering eSCAddressNumberingPlan
U32 nSCAddressNumLength
U8 SCAddressNumber [LENGTH_AddressNumber]
SWI_TYPE_SMS_Address eAddress
SWI_TYPE_SMS_AddressNumbering eAddressNumberingPlan
U32 nAddressNumLength
U8 SME [LENGTH_SME]
SWI_TYPE_SMS_Protocol eProtocol
SWI_TYPE_SMS_ProtocolId eProtocolID
SWI_TYPE_SMS_CodingScheme eDataCodingScheme
SWI_TYPE_SMS_CodingClass eDataCodingClass
SWI_TYPE_SMS_CodingCompression eDataCodingCompression
U8 byWaiting [3]
bool bMoreMessage
U8 Timestamp [LENGTH_SMSTimestamp]


Detailed Description

This structure defines the header of mobile-terminated SMS messages.

See also:
SWI_STRUCT_GSM_SMS_RetrieveSms

SWI_TYPE_SMS_Status

SWI_TYPE_SMS_Address

SWI_TYPE_SMS_AddressNumbering

SWI_TYPE_SMS_Protocol

SWI_TYPE_SMS_ProtocolId

SWI_TYPE_SMS_CodingScheme

SWI_TYPE_SMS_CodingClass

SWI_TYPE_SMS_CodingCompression

See sample code, Gsm_SMSInbox


Member Data Documentation

Reserved for future use

Reserved for future use

Destination Address Type

Destination Address Numbering Plan

Data Coding Class

Data Coding Compression

Data Coding Scheme

Protocol Type

Protocol ID

Service Centre Address Type

Service centre Address Numbering Plan

Destination Address Length. Valid range for this field is from 0 to 20

The result of the SMS retrieve

  • A value of 0x00 indicates success.
    • A value of 0x01 indicates that the message is not available (SIM error, message not found or message segmentation error)

Service Centre Address Length. Valid range for this field is from 0 to 20

Record status indicates if the message is unread or has been previously read.

  • A value of 0x00 indicates that the message is NEW
  • A value of 0x01 indicates that the message has been previously read.

Service Centre Address. This field is in 8-bit binary-coded decimal.

The size, in bytes, of this structure. This value should always be populated by the calling application.

Destination Address. This field is in 8-bit binary-coded decimal.

Time of Originating SMS. This field is in 8-bit binary-coded decimal in the following format: yy,mm,dd,hh,mm,ss,tz. Where tz is timezone


The documentation for this struct was generated from the following file:

Generated on Fri Oct 2 10:27:36 2009 for 3G SDK by  doxygen 1.5.9