Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# VB sms GSM
i want to Send and Read SMS through a GSM Modem using AT Commands in C#.
please help me.
Posted 22-Dec-12 23:22pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Comments
fahimeh.zarei at 23-Dec-12 5:49am
   
yes,but i want to Send and Read SMS through a GSM Modem using AT Commands in C#!!
OriginalGriff at 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 at 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 at 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 at 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)

  Print Answers RSS
0 OriginalGriff 278
1 Sergey Alexandrovich Kryukov 236
2 PhilLenoir 179
3 ChauhanAjay 166
4 ClimerChinna 150
0 Sergey Alexandrovich Kryukov 6,140
1 OriginalGriff 5,195
2 CPallini 2,473
3 Richard MacCutchan 1,607
4 Abhinav S 1,505


Advertise | Privacy | Mobile
Web02 | 2.8.140814.1 | Last Updated 23 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100