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.

how to get gsm modem response into a buffer

Status
Not open for further replies.
P

Parvati.k

Guest
Hi all m using gsm modem of sim300 i have get the reponse of modem to AT command AT in a buffer and send this in a SMS using AT+CMGS command.
the problem m facing is something non-trivial m able to get the reponse of GSM modem into a buffer only after giving AT+CMGS. By this m getting two SMS's one without data one with response of GSM modem. Please help me out i have to get only one SMS with the response.
 

Your coding algorithm isn't clear enough. I think there is a timing problem in the code. If you are using microcontroller the I think your micocontroller is executing AT+CMGS 2 times. Check this point. You may have to modify the loop operations a little bit.
One more thing, try to read the response through USART immediately after sending commands. Use no delay there.

Regards,
RS
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top