//handle for sending sms
void SMS_AUTO_ctrl_Handler(u8 Event, u16 Nb)
{
// Does nothing because i just want to process incoming sms
}
As you can see the code simply send a “New Message” notification to UART1 and display a trace to the target monitoring tool. I tried to send an SMS message to the modem and the message arrives and displays it to the terminal program. But my open AT application did not receive it because the “New Message” string was not displayed on the terminal program. What could be the problem?
sms_automaton_Handle_txt is always equal to zero after subscription so i assume sms subscription was succesfull. I tried to send an SMS from my phone to the modem to check if my open AT app will receive it but unfortonately it did not. But my message was displayed on the terminal emulator but no TRACE was displayed on the Target Monitoring Tool. Please help. What’s wrong with my code? Thank you in advance.
Interesting, but notifications on new posts is working very bad.
So.
If you can entering in your SMS_AUTO_Handler so you can view info like sms tel, length and time.
Try to send it to TMT.
And TRACE don’t require the \n parameter in the end of your string. Why are you do that?
Try this:
//handle for incoming SMS
bool SMS_AUTO_Handler(ascii *SmsTel, ascii *SmsTimeOrLength, ascii *SmsText)
{
// you show that you enter in
TRACE (( 1, "SMS_AUTO_Handler"));
// show sms info
TRACE (( 1, "SMS is received from: (%s) in (%s) with text (%s) ", SmsTel, SmsTimeOrLength, SmsText));
adl_atSendResponse(ADL_AT_UNS, "\r\nNew Message\r\n");
return FALSE;
}
Trace 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace 1 Unable to find the string of the remote trace in the file (ID = 12654)
Trace IP 1 Embedded Application : Main
Trace IP 1 SMS subscribe:0
Trace L3RR 1 Unable to find the string of the remote trace in the file (ID = 4867)
Trace GRR 1 Unable to find the string of the remote trace in the file (ID = 5293)
Trace L3RR 1 Unable to find the string of the remote trace in the file (ID = 4867)
Trace MMT 1 Unable to find the string of the remote trace in the file (ID = 11112)
I really appreciate your help. I hope i could make this right. Thank you.
I’m quite sure that the SMS is actually being delivered by the network in fact it arrives and displayed on the terminal emulator. I am running my app on RTE mode. I already tried to update the modem’s firmware via Send file command in hyperterminal using the 1k XMODEM protocol but same happens.
Actually i am able to receive the message before from my sms handler but only once. It happens when i used the modem i am using now for to develop an open AT app for the very first time. Upon power up i also notice the following WIND messages that never happens before. Could this be the problem? Here are the WIND messages the terminal emulator displayed upon startup: