Iot a6 gsm delete sms

Hi plese how to delete all sms messages stored in GA6-B iot gsm module. I am try AT command from this url:
https://www.google.com/url?q=https://www.elecrow.com/download/A6%2520module%2520AT%2520commands.pdf&sa=U&ved=2ahUKEwjLhP6M8P39AhXpiP0HHVkKAqwQFnoECAAQAg&usg=AOvVaw0UDozE0cEaeAdRAF6JkKG-

And not working.

What exact command are you trying?

This one... ?

AT+CMGD=1,4

Yes not working. When i am receiver SMS to a6iot, show +CM "SMSFULL"

Here is answer from ga6-b:

jBHive v2.0, boot up
Kontrola GSMka...

OK

+CSQ: 30,99

OK

8943101170005755578

OK

+CREG: 1,1

OK

OK

> 
+CIEV: "SMSFULL",2

What response do you get when you issue

AT+CMGD=1,4

?


Show OK after AT+CMGD=1,4 . I am send sms to ga6-b and result is +CIEV "SMSFULL",2

The screenshot of the monitor does not match the code.

Where does Serial.println("AT+CMGD=1,4"); get printed?

The SMSFULL message is probably occurring as there are text messages waiting to be received.

Remove the commands from the setup routine, and type the command at the Serial Monitor prompt - what do you receive?

I use

 MODEM.send("AT+CMGD=0,4");
 MODEM.waitForResponse(5000);

if you want to do it in the sketch. Maybe the u-blox m-connect software could help to debug.

And it work?

Yes, why not? Depends if there is a sms in the memory. The modem answers with OK if sms are present or ERROR with no sms on the AT console. You can see this on serial monitor if you call with (true) argument:

GSM gsmAccess(true);

Here is the manual:

Thx for you help

Next time you should read the manual...

RTFM... good rule to live by.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.