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

Developer

Forums

Forums:

Hi All,

I tried a sample application of sending and recieving SMS via emulator.

Iam using BREW_3.1.5 and Im using ISMS and pISMSMsg for sending and recieving SMS.

Sending of SMS from the application works fine.Problem is that while recieving sms from the application emulator crashes.

For recieving sms testing i send sms via brewSDK->Tools->SMS emulation with class ID and text.

The recieving event is identified in EVT_APP_MESSAGE in handleEvent.

But api mention that Applications are notified of messages by EVT_NOTIFY where ((AEENotify *)dwParam)->pData contains message ID.

But nothing happens in EVT_NOTIFY. I tried some code in EVT_APP_MESSAGE .
But result is crashing of simulator.Follwing are the code.

case EVT_APP_MESSAGE :
messageID =(uint32)((AEENotify *)dwParam)->pData;
recievingMessage(pApp);
DBGPRINTF("In Event APP MESSAGE%d",messageID);
break;

plz help
Premlal