Click here to Skip to main content
15,905,614 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
i want to Send and Read SMS through a GSM Modem using AT Commands in C#.
please help me.
Posted

1 solution

Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...

A very quick search using your subject as the search term gave over 300,000 hits: Google[^]

The top hit is an article from this very site: Send and Read SMS through a GSM Modem using AT Commands[^]

In future, please try to do at least basic research yourself, and not waste your time or ours.
 
Share this answer
 
Comments
fahimeh.zarei 23-Dec-12 5:49am    
yes,but i want to Send and Read SMS through a GSM Modem using AT Commands in C#!!
OriginalGriff 23-Dec-12 5:52am    
So, you didn't bother to follow the link and read at all, then?
C# - Check.
Send SMS - Check.
Read SMS - Check.
GSM Modem - Check.
AT Commands - Check.
fahimeh.zarei 23-Dec-12 5:51am    
i download this project from codeproject Previously!!!this project in VB.net but i want to in C#.net.!!! please carefull to my question!!!!!!
OriginalGriff 23-Dec-12 5:53am    
That's funny - it looks like C# to me:
public ShortMessageCollection ReadSMS(SerialPort port)
{
// Set up the phone and read the messages
ShortMessageCollection messages = null;
try
{
#region Execute Command
// Check connection
ExecCommand(port,"AT", 300, "No phone connected");
fahimeh.zarei 23-Dec-12 6:07am    
i download this, but when received sms in GSM modem, sms din't show in program!!!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900