Good Day,
I use the following ADL subscribe funtion for my application to receive the incoming SMS (derived from SMS automation example):
sms_automaton_Handle_txt = adl_smsSubscribe(SMS_AUTO_Handler, SMS_AUTO_ctrl_Handler, ADL_SMS_MODE_TEXT);
In SMS_AUTO_handler i use the following code to intercept the incoming SMS:
bool SMS_AUTO_Handler(ascii *SmsTel, ascii *SmsTimeOrLength, ascii *SmsText)
{
TRACE (( 1, "MESSAGE RECEIVED\n"));
adl_atSendResponse(ADL_AT_RSP, "MESSAGE RECEIVED\n");
return TRUE;
}
Modem was able to receive the incoming message in fact the whole message i composed was displayed on the terminal emulator. But no trace was displayed on the target monitoring tool and the adl_atSendResponse was not executed. What could be the problem?
Thank you,
Von