Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

GSM Modem SMS Send Error

Status
Not open for further replies.

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.
 

Hi,

thanks for your reply, but I already check that thread before I post mine. It doesn't help in my problem. I tried to move the modem around but the error persist.

I am aware of CMS Error 512 is manufacturer specific and there's a chance that it's hardware problem. But I have around 10 modems running at different computers and all of them suffer from this error.
 

I guess your GSM module seller can help you better.You can contact or mail them about the problem.
 

If all the modules giving the same problem with same error code then it may need to be done reflash once for that you need to contact the manufacturer of the module. Which module you are using?
 

I don't think it is a hardware problem.. Are you using same network sim cards in all the modules? If yes then change to some other network and give a try. Do you have any working module? If yes then compare the code version in both working and non working modules.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top