Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
wcdmaLongMsgDecodingParams Struct Reference

#include <qaGobiApiSms.h>

Data Fields

BYTE * pMessage
 
USHORT MessageLen
 
BYTE * pSenderAddrLength
 
CHAR * pSenderAddr
 
BYTE * pTextMsgLength
 
CHAR * pTextMsg
 
BYTE * pScAddrLength
 
CHAR * pScAddr
 
sms_DateTime Time
 
sms_DateTime Date
 
BYTE * pReferenceNum
 
BYTE * pTotalNum
 
BYTE * pPartNum
 
BOOL * pIsUDHPresent
 

Detailed Description

Structure contains parameters which need to be decoded from message

Parameters
pMessage[IN]
  • Message read off the device via SLQSGetSMS
MessageLen[IN]
  • 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 This field contains the Type of Address. To get the exact address, skip the first two bytes. e.g, 9085290100334, 90 is the Type of Address, indicates international format of phone number
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
Time[OUT]
  • Time fecthed from message
Date[OUT]
  • Date fecthed from message
pReferenceNum[OUT]
  • Reference number of the sms
pTotalNum[OUT]
  • Total number of the concatenated message
pPartNum[OUT]
  • Sequence number of the current message
pIsUDHPresent
  • Is User Data Header Prensent in the PDU? If yes, it means it is a
  • concatenated SMS.

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