LinuxQMISDK  SLQS03.03.16
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
wcdmaMsgDecodingParams Struct Reference

Data Fields

BYTEpMessage
 
BYTEpSenderAddrLength
 
CHARpSenderAddr
 
BYTEpTextMsgLength
 
CHARpTextMsg
 
BYTEpScAddrLength
 
CHARpScAddr
 
BYTE Time [0x09]
 
BYTE Date [0x09]
 

Detailed Description

Structure contains parameters which need to be decoded from message

Parameters
pMessage[IN]
  • Message read off the device via SLQSGetSMS
pSenderAddrLength[IN/OUT]
  • Upon input, indicates the maximum number of ASCII characters (including NULL termination) that the pSenderAddr buffer can accommodate. A length with 24 will be much safe since this address filed can be up to 12 octets (24 bytes) Upon successful output, returns the length of destination address string.
pSenderAddr[OUT]
  • Note that a length with 24 bytes will be much safe. Returns NULL-terminated ASCII String containing destination address
pTextMsgLength[IN/OUT]
  • Upon input, specifies the number of characters the given text message buffer can accommodate. Upon successful output, returns the number of characters returns in the given text message buffer.
pTextMsg[OUT]
  • Encoded PDU message
pScAddrLength[IN/OUT]
  • A length with 24 will be much safe since this address filed can be up to 12 octets (24 bytes) Returns NULL-terminated ASCII String containing destination address
pScAddr[OUT]
  • Note that a length with 24 bytes will be much safe. Returns NULL-terminated ASCII String containing service center address. This SMSC field contains the Type of Address. To get the exact SMSC address, skip the first two bytes. e.g, 9085290100334, 90 is the Type of Address, indicates international format of phone number
pTime[OUT]
  • Time fecthed from message
pDate
  • Date fecthed from message

Field Documentation

BYTE wcdmaMsgDecodingParams::Date[0x09]
BYTE* wcdmaMsgDecodingParams::pMessage
CHAR* wcdmaMsgDecodingParams::pScAddr
BYTE* wcdmaMsgDecodingParams::pScAddrLength
CHAR* wcdmaMsgDecodingParams::pSenderAddr
BYTE* wcdmaMsgDecodingParams::pSenderAddrLength
CHAR* wcdmaMsgDecodingParams::pTextMsg
BYTE* wcdmaMsgDecodingParams::pTextMsgLength
BYTE wcdmaMsgDecodingParams::Time[0x09]

Copyright (c) 2011-2015 Sierra Wireless, Inc. All rights reserved