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 23-Dec-12 0:22am

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 515
1 Maciej Los 340
2 Richard MacCutchan 265
3 BillWoodruff 225
4 Mathew Soji 155
0 OriginalGriff 8,804
1 Sergey Alexandrovich Kryukov 7,457
2 DamithSL 5,689
3 Maciej Los 5,279
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web02 | 2.8.1411028.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