Go Down

Topic: A6 gsm 'AT+CMGR' command (Read 2606 times) previous topic - next topic


Jul 26, 2017, 09:25 am Last Edit: Jul 26, 2017, 10:14 am by YGSH
Hello everyone...
     1)      Facing a problem with A6 gsm module and don't know the solution.
      When module receives new sms, it properly returns   

   +CMTI: "SM",0

           Now if i use AT+CMGR=0 to read the sms, an error occurs +CME ERROR:58(don't know what it means?).
           If again i tried the same AT command another error occurs +CMS ERROR:321
 which means Invalid memory index.
           So don't know how to read new sms :(

     2)   Everytime module receives new sms, it is saving on same location 0 .(which i think sholud be increased everytime as like sim800)

       I also have sim800 module in which AT+CMGR command is working fine. But A6 creating a problem. :(  :(


I have the same problem, message looks like same

+CMT: "1234567890" 06/08/2017 12:00:00

No SMS body is receiving the only Header is receiving. How you solved the problem.


Check the parameter values for +CMGR
I think you're asking the modem for 'RECEIVED READ' messages, whereas you want 'RECEIVED UNREAD'

Also try to understand TEXT mode vs PDU mode commands.
You may be better off not using the modem SMS memories, but processing the incoming messages as they arrive.

There are quite a few threads on here abut receiving SMS.  Only a few of them are well written!
Experienced responders have a nose for laziness, (they were beginners once)... Sure, there are trolls, chest-beaters, and pretenders - but the help you'll get here is about as good as it gets - if you try to help youself!.

Go Up