SMS Programming

SMS programming stands for using commands to instruct an SMS Gateway software product to send and receive SMS messages. Software developers and users can control and allow SMS delivery by way of SMS programming.

SMS programming allows a user to send/receive SMS messages through a GSM/GPRS modem, a mobile phone, or the Internet. People use IP SMS connection to achieve the fastest possible connection to the SMSC. The GSM SMS connection is also quite common, since it is suitable to serve lower SMS traffic in a stable way. In order to work with any of these connections, the SMS Gateway must be instructed to send or receive text messages. Different SMS programming languages are used to direct text messages to their destinations.

SMS programming use AT commands when operating with GSM messages, and can work with other SMS API codes. SMS APIs allows to integrate SMS functionality into applications or webpages. It means that through these codes the SMS Gateway can be controlled and SMS sending and receiving functionality can be added (with further functions) to various applications.

HyperTerminal of Microsoft Windows is a tool for computer users to send AT commands to the mobile handset or GSM/GPRS modem. Through AT commands, the GSM modem can be instructed to send SMS messages. The other aspect of SMS programming is that SMS API provides detailed tools for developers of various programming languages like C, C++, Java, Visual Basic, or Delphi in order to implement SMS technology into their applications. As a result, you will get a standard interface for all of the IP SMS Connections and GSM modems.

You can read more about the AT command set here: http://en.wikipedia.org/wiki/Hayes_command_set

SMS programming offers the ability to control the GSM modem for sending SMS messages with AT commands. The first example below shows the commands for sending SMS messages:

AT+CMGF=1 Sets the terminal into text mode.
AT+CSMS=1 Sets phase 2+ SIM compatibility.
AT+CNMI=2,2,0,1,1 Storage setup, read the Command set for more options.
AT+CSMP=49,167,0,0 Read destruction manual if you want to know why.
AT+CMGS=<destination cell number> Hit enter and wait for prompt.<type message> and then <ctrl-Z> to send.

The next example shows how to store and send SMS from memory:

AT+CSMS=1 Sets phase 2+ SIM compatibility.
AT+CNMI=2,2,0,1,1 Storage setup, read the Command set for more options.
AT+CMGW= <CR> Wait for the prompt, type in your message, and hit <ctrl-Z>The Terminal then returns the memory location number that the message has been stored in.
AT+CMSS= <memory location number >,<destination cell number>

Click here to see a list of GSM modems and mobile phones that can send SMS from PC >>>>


To get more information, please visit the following websites:
The Ozeki NG SMS Gateway website
The best site about SMS integration

  Home
  Site map

Get the right SMS software!



Ozeki NG SMS Gateway
v3.15 (4.5 Mb)

This is a 30 day trial
of the world's best
SMS software
Danger!!!
7 things to avoid when
choosing an SMS gateway
for your organization!
Find out more...