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

Data Fields

BYTEpMessage
 
USHORT MessageLen
 
BYTEpSenderAddrLength
 
CHAR senderAddr [24+1]
 
BYTEpTextMsgLength
 
CHAR textMsg [160+2]
 
BYTEpScAddrLength
 
CHAR scAddr [24+1]
 
sms_DateTime time
 
sms_DateTime date
 

Detailed Description

Structure contains parameters which need to be decoded from message

Parameters
pMessage[IN]
  • Message read off the device via SLQSGetSMS
MessageLen
  • Message buffer Length
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

sms_DateTime wcdmaMsgDecodingParams::date
USHORT wcdmaMsgDecodingParams::MessageLen
BYTE* wcdmaMsgDecodingParams::pMessage
BYTE* wcdmaMsgDecodingParams::pScAddrLength
BYTE* wcdmaMsgDecodingParams::pSenderAddrLength
BYTE* wcdmaMsgDecodingParams::pTextMsgLength
CHAR wcdmaMsgDecodingParams::scAddr[24+1]
CHAR wcdmaMsgDecodingParams::senderAddr[24+1]
CHAR wcdmaMsgDecodingParams::textMsg[160+2]
sms_DateTime wcdmaMsgDecodingParams::time

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