LinuxSDK  V1.4.0.5
Data Fields
SWI_STRUCT_SMS_CdmaHeader Struct Reference

#include <SwiApiCdmaSms.h>

Data Fields

swi_uint32 sizeStruct
 
SWI_TYPE_SMS_ParamMask eParamMask
 
SWI_TYPE_SMS_MsgCategory eMsgCategory
 
SWI_TYPE_SMS_Teleservice eTeleservice
 
swi_uint16 serviceCategory
 
swi_uint8 tlAckReq
 
SWI_TYPE_SMS_MsgIdType eMsgIdType
 
swi_uint8 addrDigitMode
 
swi_uint8 addrNumMode
 
swi_uint8 addrNumType
 
swi_uint8 addrNumPlan
 
swi_uint8 addrLen
 
swi_char szAddress [MAX_SMSI_TL_ADDRESS]
 
swi_uint8 subType
 
swi_uint8 subOdd
 
swi_uint8 subLen
 
swi_char szSubAddress [MAX_SMSI_TL_ADDRESS]
 
swi_uint8 callBackLen
 
swi_char szCallBack [MAX_SMSI_CALL_BACK]
 
SWI_TYPE_SMS_Priority ePriority
 
SWI_TYPE_SMS_Privacy ePrivacy
 
SWI_TYPE_SMS_Language eLanguage
 
swi_uint8 user_ack_req
 
swi_uint8 dak_req
 
swi_uint8 userResp
 
swi_char szNumMsg [2]
 
swi_uint8 deliveryAlert
 
SWI_TYPE_SMS_DataEncodeType dataEncoding
 
swi_uint8 ts_yr
 
swi_uint8 ts_mon
 
swi_uint8 ts_day
 
swi_uint8 ts_hrs
 
swi_uint8 ts_min
 
swi_uint8 ts_sec
 
swi_uint8 abVal_yr
 
swi_uint8 abVal_mon
 
swi_uint8 abVal_day
 
swi_uint8 abVal_hrs
 
swi_uint8 abVal_min
 
swi_uint8 abVal_sec
 
swi_uint8 relVal_time
 
swi_uint8 abDef_yr
 
swi_uint8 abDef_mon
 
swi_uint8 abDef_day
 
swi_uint8 abDef_hrs
 
swi_uint8 abDef_min
 
swi_uint8 abDef_sec
 
swi_uint8 relDef_time
 
SWI_TYPE_SMS_MsgDispMode eMsgDispMode
 

Detailed Description

Contains CDMA SMS header.

A portion of SWI_STRUCT_CDMA_SMS_RetrieveSms, this structure defines the header of incoming SMS messages. Most of the data items are defined in the CDMA specification and are not explained here. The enumerated types are described following this structure.

Field Documentation

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::abDef_day

Absolute Delivery Deferral Day - the value is presented in hexadecimal format. E.g. 30th will be interpreted as 0x30.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::abDef_hrs

Absolute Delivery Deferral Hour - the value is presented in hexadecimal format. E.g. eleven o'clock is presented as 0x0x11. Represented in 24-hour time.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::abDef_min

Absolute Delivery Deferral Minute - the value is presented in hexadecimal format. E.g. thirty minute is presented as 0x30.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::abDef_mon

Absolute Delivery Deferral Month - the value is presented in hexadecimal format. E.g. December will be interpreted as 0x12.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::abDef_sec

Absolute Delivery Deferral Second - the value is presented in hexadecimal format. E.g. thirty minute is presented as 0x30.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::abDef_yr

Absolute Delivery Deferral Year - the value is presented in decimal format.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::abVal_day

Absolute Validity Day- the value is presented in hexadecimal format. E.g. 30th will be interpreted as 0x30.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::abVal_hrs

Absolute Validity Hour - the value is presented in hexadecimal format. E.g. eleven o'clock is presented as 0x0x11. Represented in 24-hour time.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::abVal_min

Absolute Validity Minute - the value is presented in hexadecimal format. Thus, thirty minute is presented as 0x30.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::abVal_mon

Absolute Validity Month - the value is presented in hexadecimal format. E.g. December will be interpreted as 0x12.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::abVal_sec

Absolute Validity Second - the value is presented in hexadecimal format. E.g. thirty minute is presented as 0x30.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::abVal_yr

Absolute Validity Year - the value is presented in decimal format.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::addrDigitMode

Address Digit Mode

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::addrLen

Length of Address

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::addrNumMode

Address number mode

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::addrNumPlan

Address number plan if NumMode == 0 WMS_NUMBER_UNKNOWN = 0, WMS_NUMBER_INTERNATIONAL = 1, WMS_NUMBER_NATIONAL = 2, WMS_NUMBER_NETWORK = 3, WMS_NUMBER_SUBSCRIBER = 4,

WMS_NUMBER_ALPHANUMERIC = 5, GSM SMS: addr value is GSM 7-bit chars

WMS_NUMBER_ABBREVIATED = 6, WMS_NUMBER_RESERVED_7 = 7, if NumMode == 1 WMS_NUMBER_DATA_IP = 1 WMS_NUMBER_INTERNET_EMAIL = 2

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::addrNumType

Address number type

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::callBackLen

Length of the Callback number

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::dak_req

Specify whether delivery acknowledge is required

SWI_TYPE_SMS_DataEncodeType SWI_STRUCT_SMS_CdmaHeader::dataEncoding

Message Body Data Encoding.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::deliveryAlert

Alert on Delivery

SWI_TYPE_SMS_Language SWI_STRUCT_SMS_CdmaHeader::eLanguage

Message Language

SWI_TYPE_SMS_MsgCategory SWI_STRUCT_SMS_CdmaHeader::eMsgCategory

Message Category

SWI_TYPE_SMS_MsgDispMode SWI_STRUCT_SMS_CdmaHeader::eMsgDispMode

Message Display Mode

SWI_TYPE_SMS_MsgIdType SWI_STRUCT_SMS_CdmaHeader::eMsgIdType

Message ID Type

SWI_TYPE_SMS_ParamMask SWI_STRUCT_SMS_CdmaHeader::eParamMask

Parameter Mask indicating which of the below fields are valid

SWI_TYPE_SMS_Priority SWI_STRUCT_SMS_CdmaHeader::ePriority

Message Priority

SWI_TYPE_SMS_Privacy SWI_STRUCT_SMS_CdmaHeader::ePrivacy

Message Privacy Level

SWI_TYPE_SMS_Teleservice SWI_STRUCT_SMS_CdmaHeader::eTeleservice

Message Teleservice

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::relDef_time

Relative Delivery Deferral Time of a SMS transmission. See Reference 1 Section 4.5.8 for more detail.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::relVal_time

Relative Validity Time of a SMS transmission. See TIA/EIA 637-A Section 4.5.6 for more detail.

swi_uint16 SWI_STRUCT_SMS_CdmaHeader::serviceCategory

Service Category (News, Restaraunts, etc.). Refer to TIA/EIA-637 Section 3.4.3.2 for more detail.

swi_uint32 SWI_STRUCT_SMS_CdmaHeader::sizeStruct

Size of this structure

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::subLen

Length of the sub-address

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::subOdd

Sub Address Odd byte

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::subType

Sub address type

swi_char SWI_STRUCT_SMS_CdmaHeader::szAddress[MAX_SMSI_TL_ADDRESS]

Destination address if we are sending out a MO SMS

swi_char SWI_STRUCT_SMS_CdmaHeader::szCallBack[MAX_SMSI_CALL_BACK]

String containing the Call Back number with a 32 maximum characters

swi_char SWI_STRUCT_SMS_CdmaHeader::szNumMsg[2]

Number of Voice messages (SMSI_VMN_95) on the network

swi_char SWI_STRUCT_SMS_CdmaHeader::szSubAddress[MAX_SMSI_TL_ADDRESS]

Destination sub-address if we are sending out a MO SMS. Origination sub-address if we are retrieving a MT SMS

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::tlAckReq

Indicates if the client needs to confirm whether the message is received successfully or not.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::ts_day

Time Stamp Day- the value is presented in hexadecimal format. E.g. 30th will be interpreted as 0x30.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::ts_hrs

Time Stamp Hour - the value is presented in hexadecimal format. E.g. eleven o'clock is presented as 0x0x11. Represented in 24-hour time.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::ts_min

Time Stamp Minute - the value is presented in hexadecimal format. E.g. thirty minute is presented as 0x30.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::ts_mon

Time Stamp Month: the value is presented in hexadecimal format. E.g. December will be interpreted as 0x12

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::ts_sec

Time Stamp Second - the value is presented in hexadecimal format. E.g. thirty minute is presented as 0x30.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::ts_yr

Time Stamp Year: the value is presented in decimal format.

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::user_ack_req

Specify whether user Acknowledgement is required True/False

swi_uint8 SWI_STRUCT_SMS_CdmaHeader::userResp

User Response Code


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

Linux SDK V1.4.0.5
Copyright (c) 2011 Sierra Wireless, Inc. All rights reserved