Connecting Tech Pros Worldwide Help | Site Map

Gsm Modem

Newbie
 
Join Date: Dec 2007
Posts: 1
#1: Dec 19 '07
I'm trying to send SMS via GSM modem and I use c#.net to do this.At first I used AT+CMGS to send SMS but it was not safe and sometimes, some SMS didn't send to the destination. After that I use AT+CMGW and AT+CMSS to send SMS but I have to wait for 7 second to send an SMS. I have to wait for example 2 or 1 second for each command which have sent to serial port.(by using Thread.Sleep(1000) ).and if I don't do that some commands execute before the previous command executed completely.Forexample AT+CMGW=23 should be
9612348087(PDU FORMAT) but it will execute the next command AT+CMSS and an error will be appear.

What should I do?
Reply