Dear ladies and gentlemen from Quectel,
Sadly i have a problem with my Quectel GSM module M10. For a project i send and receive SMS for controlling various sensors and actors. Every 20 seconds i check the M10 via AT command about new and unread SMS.
The AT command looks like the following:
Serial.write("AT+CMGL=\"REC UNREAD\",1\r");
The problem is, after about 30 minutes (from time to time also within 6 minutes) i get an error with the following code: +CMS ERROR: 604
The rest of the time, the M10 works fine.
Is it possible, that 20 seconds is too less between every command? Maybe the AT command is sent too often? As the carriage return i use the /r as you can see in the AT command above. I don’t know why, but some libraries also use /r/n instead of the single /r.
Do you have any idea why that error appears? The M10 should work very reliable for my project.
The following parameters/settings which i programmed i can offer:
Quectel M10
Revision: M10FAR01A02
AT&F //Factory Reset
ATE0 //Echo Mode Off
AT+CFUN = 1 //Full Phone Functionality
AT+CMGF = 1 //SMS Message Format = Text Mde
AT+CNMI = 2,0,0,0,0 //New SMS Message Indications
AT+CPMS = “SM”,“SM”,“SM”
I would be happy for any idea and help!
All the best, Thor