potatoguy
Newbie level 3
- Joined
- Mar 25, 2015
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 35
Hi,
I have a SMS Gateway which retrieve a list of SMS from server and send them out to target. The gateway query for SMS every 10 seconds. I got CMS error 512 from the log file. It happens randomly and I have no clue what is going on.
Here's how the SMS gateway initialise the modem every time it start
ATZ
AT+CFUN=1
ATE1
AT+CMEE=1
AT+CNMI=3,0,0,0,0
AT+CPMS="ME","ME","ME
AT+CMGF=0
Every time the error occurs I check CREG?, CPIN and CSQ but everything seems okay.
AT+CSQ
+CSQ: 16,0
OK
Reg - AT+CREG?
+CREG: 0,1
OK
Here's a sample of sending sms command in the SMS gateway.
AT+CMGS=<length> \r
<message> + <CTRL Z>
The modem I used was 8 port bailingjia usb modem
**broken link removed**
Could anyone tell me what is wrong or how to find out the cause beside checking CREG?, CPIN and CSQ?
Thank you.
I have a SMS Gateway which retrieve a list of SMS from server and send them out to target. The gateway query for SMS every 10 seconds. I got CMS error 512 from the log file. It happens randomly and I have no clue what is going on.
Here's how the SMS gateway initialise the modem every time it start
ATZ
AT+CFUN=1
ATE1
AT+CMEE=1
AT+CNMI=3,0,0,0,0
AT+CPMS="ME","ME","ME
AT+CMGF=0
Every time the error occurs I check CREG?, CPIN and CSQ but everything seems okay.
AT+CSQ
+CSQ: 16,0
OK
Reg - AT+CREG?
+CREG: 0,1
OK
Here's a sample of sending sms command in the SMS gateway.
AT+CMGS=<length> \r
<message> + <CTRL Z>
The modem I used was 8 port bailingjia usb modem
**broken link removed**
Could anyone tell me what is wrong or how to find out the cause beside checking CREG?, CPIN and CSQ?
Thank you.