Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

If the application registers for all text messages via NMASK_TAPI_SMS_TEXT , you only get the text of the SMS in the EVT_NOTIFY event from the AEESMSTextMsg.

How do you detect the who sent the this SMS (i.e. the phone number it was sent from)? There does not seem to be a way to detect this.

Found what I was looking for from the docs.
"register for a text message by using the notification mask NMASK_TAPI_SMS_TS and by specifying the TeleService ID as SMS_TELESERVICE_CMT_95, the application gets notified using the EVT_NOTIFY mechanism.
The dwParam to this event is of type AEENotify. The pData inside the AEENotify structure is of type AEESMSMsg."
AEESMSMsg.szDigits - Callback Number Information. Specifies the callback number. This is hopefully the information I am after :)

Found what I was looking for from the docs.
"register for a text message by using the notification mask NMASK_TAPI_SMS_TS and by specifying the TeleService ID as SMS_TELESERVICE_CMT_95, the application gets notified using the EVT_NOTIFY mechanism.
The dwParam to this event is of type AEENotify. The pData inside the AEENotify structure is of type AEESMSMsg."
AEESMSMsg.szDigits - Callback Number Information. Specifies the callback number. This is hopefully the information I am after :)

> AEESMSMsg.szDigits - Callback Number Information. Specifies the callback number.
The callback number is received correctly if I use a Verizon (send SMS) to Verizon device.
If I use a Sprint (send SMS) to Verizon device combination, the szDigits field is empty and there is no callback number information.
The native SMS application shows the correct callback number in both the above cases though.
The BREW device I am using to receive the SMS is LG VX9800.
Any one has seen this problem before?

> AEESMSMsg.szDigits - Callback Number Information. Specifies the callback number.
The callback number is received correctly if I use a Verizon (send SMS) to Verizon device.
If I use a Sprint (send SMS) to Verizon device combination, the szDigits field is empty and there is no callback number information.
The native SMS application shows the correct callback number in both the above cases though.
The BREW device I am using to receive the SMS is LG VX9800.
Any one has seen this problem before?

See this other thread
http://brewforums.qualcomm.com/showthread.php?t=10972
It has an example of how to get the callback information using the ISMS interface rather than the ITAPI interface. It works correctly for different operators. Only drawback is that it will not work for versions of BREW less than 3.x

See this other thread
http://brewforums.qualcomm.com/showthread.php?t=10972
It has an example of how to get the callback information using the ISMS interface rather than the ITAPI interface. It works correctly for different operators. Only drawback is that it will not work for versions of BREW less than 3.x