Click here to Skip to main content
12,758,918 members (33,746 online)
Rate this:
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
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.
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#!!
fahimeh.zarei 23-Dec-12 5:51am
i download this project from codeproject Previously!!!this project in but i want to in!!! please carefull to my question!!!!!!
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.
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;
#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)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170217.1 | Last Updated 23 Dec 2012
Copyright © CodeProject, 1999-2017
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