The basic concept of sending SMS messages from a C # application using a gsm modem

Can someone explain to me the basic concept or provide me with any documentation on sending sms using the gsm modem connected to the computer through the C # application.

I found a lot of source codes, but could not get what kind of procedure or algorithm.

One such link here

http://www.freestudentprojects.com/c-net-projects/send-and-receive-sms-in-net-using-gprs-modem/

I downloaded the source code, but things are not entirely clear.

thank you

+4
source share
2 answers

You need ATCommands to communicate with the GSM modem. This is a very good codeproject article for understanding the demo procedure.

+2
source

You can use AT commands, or if you are on Windows 7 or 8, you can use the Mobile Broadband API. There is another API if you are developing in Win 8 Metro.

A link to the Mobile Broadband API is here: http://msdn.microsoft.com/en-gb/library/windows/desktop/dd323269(v=vs.85).aspx

There is an article about using it with C # here: http://msdn.microsoft.com/en-us/library/windows/desktop/dd323271(v=vs.85).aspx

The full reference to the 3GPP AT command for GSM modems is TS 27.007, it is here: http://www.3gpp.org/ftp/Specs/html-info/27007.htm Keep in mind that most modems have specific AT- manufacturer teams, some of which are publicly available and some not. But for simple procedures, such as sending / receiving SMS messages, you probably will not need it.

The source code that you have will first determine programmatically which port the modem is connected to, and then it will send AT commands. Or, he identifies the network adapter that the modem represents, and using the Windows identifier, calls the Mobile Broadband API functions. Therefore, review the code for these procedures. This is an interesting site, by the way - it was new to me.

+1
source

All Articles