This software can be use with the GSM FONA module (only the SMS transmit & receive are providing).
It may help you to build your own code.
Conception choices :
- Only the SMS received during the "on-state" are take into consideration
- All the SMS are removed from the modem & the SIM (to prevent from memory overflow)
Do not hesitate to ask question as comment!