Hello, I have this code, which is recieving sms.
code:
Serial3.print("AT+CMGF=1\r"); // Configuring TEXT mode
delay(100);
updateSerial();
Serial3.print("AT+CSDH=1\r"); // mostrar la informacion del mensaje
delay(100);
updateSerial();
Serial3.print("AT+CNMI=1,2,0,0,0\r"); // Decides how newly arrived SMS messages should be handled
delay(200);
updateSerial();
but when a receive the message, i just receive the data, i need the information of the remote number.
Serial monitor:
13:45:02.050 -> +CIEV: "MESSAGE",1
13:45:02.050 ->
13:45:02.050 -> +CMT: "First Test
To clarify, what I should recieve according to many tutorials is something like this:
13:45:02.050 -> +CIEV: "MESSAGE",1
13:45:02.050 ->+CMT: "+521234567891", "11/01/2021 13:45 GMT",
13:45:02.050 -> "First test
So the sms phone number and date are missing. I tried a lot of at commands and none work, any clues?
Many thanks