How to retrieve the telephone number from an AT CMGL response?
I have an application written in C that reads text messages from a modem using AT commands. A typical AT response from the modem looks like this: +CMGL: 1,"REC READ","+31612123738",,"08/12/22,11:37:52+04" The code is currently set up to only retrieve the id from this line, which is the first number, and it does so using the following ...