Hello
Actually i am doing a computer program in C# to send and receive SMS through gsm mode(serial port)
i am using the below code
port = new SerialPort(cmbport.Text, 115200, Parity.None, 8, StopBits.One);
port.Open();
port.WriteLine("AT\r");
after opening the port the program is halt, it does not execute the api
writeline
if any body have idea please suggest me
waiting your reply
thanks
sadaba lam
AT command for sending sms through code
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Jan 2, 2012, 1:26 AM EST
Sam HobbsRank #108 · 20.5K reputationPosted Jan 2, 2012, 7:00 AM EST
mamta rupareliya2 reputationPosted Mar 21, 2012, 4:47 AM EDT
VulpesRank #55 · 29.2K reputationPosted Mar 21, 2012, 9:06 AM EDT
http://www.codeproject.com/Articles/38705/Send-and-Read-SMS-through-a-GSM-Modem-using-AT-Com