How to interface with a GSM Modem to send and receive SMS from a C#.NET 2008 application

I need to create an application in C#.NET 2008 environment. This application is supposed to trigger SMS sending based on certain scenarios and conditions that are sensed & trapped by a rule execution / work flow mechanism that would be built as a part of this application. Besides this, I need to receive SMS and respond based on the command read from the text.
Can I use any GSM modem for doing this?
If so, please explain how to interface and send & receive SMS using this.
I need to have my application generic enough so that it can work with any make of GSM modem.
B_SIVARAMAKRISHNANAsked:
Who is Participating?
 
Kamal KhaleefaConnect With a Mentor Information Security SpecialistCommented:
Hi
for me i didnt use gsm modem till now in my applications
we are integrating webservices from the provide into our application to send sms
any way here is some usefull links it may help you

http://www.codeproject.com/KB/cs/SMS.aspx

http://www.logixmobile.com/products/mcorelib/index.asp

http://www.activexperts.com/xmstoolkit/

http://social.msdn.microsoft.com/Forums/en-US/netfxnetcom/thread/2c75e926-54c3-420d-b8d1-e53e49a408c6
0
 
Praveen KumarConnect With a Mentor ArchitectCommented:
Yes, you can use GSM Modem to Send/Receive messages from a .NET application. Basically you need to implement a Serial Communication (you can use .NET Serial Port component) and send/receive AT  commands to the modem.

More information on SMS Services are below:

You can enable SMS's from your application in 2 ways:
1. Using SMSC Gateway (used for large valumms, short codes, costly)
2. GSM Modem/Mobile Phone (Small valumes, only long codes, cheaper) - THIS IS YOUR OPTION IN QUESTION


1. Using SMSC Gateway:
   a) Use any third party provider: They have a contact with mobile operators and they will give you a HTTP API/Web service/COM component etc. Where you can have access from your application and use their service.
Example provider: www.clickatell.com (Choose from your country)

   b) Setup your own SMSC gateway: For this you need to contact your mobile operator from your country. They will provide the details to connect with them (SMPP, HTTP etc.).
Example software provider: www.nowsms.com


2. GSM Modem/Mobile Phone:
   You buy a GSM modem/Latest Mobile Phone(not symbian)  and connect from your PC. Then you can use AT commands to send/receive messages from your pc. There are some third party components/tools exist to this kind of purpose.
  Ex: www.logixmobile.com

AT COMMANDS:
http://www.developershome.com/sms/atCommandsIntro.asp


All the best.

Praveen

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.