I’m currently facing an issue with the event triggering (In particular with the sms reception).
I tried to run the ModemDemo application from the legato Beta version. I created a new Legato Project for AR755X, using the Legato Application Framework Package (14.1.0.Beta.rc5), with modemDemo as a base project.
Then, I compiled, loaded and started the app with the Remote System Explorer Perspective connected to the chip.
I tried to send several sms to the sim card into the 1st slot but the handler is never triggered. Indeed the first log LE_DEBUG("smsReceivedHandler called."); is never shown in the LegatoConsole
My sim card is functional (I can send sms).
The log level is at DEBUG (in the .adef file under processes section) envVars: LE_LOG_LEVEL = DEBUG
Has anyone an idea why the handler is not responding to the sms reception ?
It could be that the SMS storage on the SIM is full. You can check this using AT+CPMS?, and you can delete all the messages using AT+CMGD=,4
For example, on my modem, I initially had 20 stored messages out of available storage of 50, and after deleting all the messages, I confirmed that there were no messages stored.
Indeed the problem was that the SMS storage on the SIM was full.
I freed it with the commands you advise me to use (AT+CMGD=,4).
I have trouble to understand why the storage was full up though ? (It wasn’t full at first, I could receive sms)
Because every handler I made, deletes the message when we are done with it, by using:
le_sms_msg_DeleteFromStorage(messagePtr);
How is it possible to fill up the SIM card storage ?
@davidc: I’m using the first slot on the dev board (UICC1 J800)
@esun: If you still want the status of the modem (state before freeing the storage)