Reputation: 1595
I am using a GSM module ACM8060. When I try to send SMS using AT commands it returns ERROR but when sms sent from a cell phone using the same SIM it sends successfully.
+CREG: 3
AT+CMGS="nnnnnnnnnn"
ERROR
AT+CREG?
+CREG: 1,3
OK
AT+CMGF=0
OK
AT+CMGF=1
OK
AT+CMGS="nnnnnnnnnn"
> hello [pressed ctrlZ here]
ERROR
where nnnnnnnnnn is a 10 digit mobile phone no.
Which setting in the module could be wrongly set. It was working earlier.
And similar in case of TCP at AT+AIPA=1 it is giving ERROR: 301
. Again it works with a cell phone. Which setting to look for?
Upvotes: 0
Views: 632
Reputation: 13244
I suggest turning on verbose error codes using ATV1
so you get more information than simply ERROR
. You should then receive an error code like +CME ERROR: xxx
or +CMS ERROR: xxx
where the xxx will be a detailed error code.
Upvotes: 1