AT
The response will be OK. This means that the modem is up and ready.
ATD94xxxxxxxx
This command will initiate a voice call to the no 94xxxxxxxx. The semicolon indicates that it is a voice call. If you want to run any USSD codes like *123# for balance enquirey, do the same without semicolon.
ATD*123#
Other Call control commands
Command | Description |
ATA | Answer command |
ATD | Dial command |
ATH | Hang up call |
Sending an SMS.
First put the modem into text mode. Otherwise output will be in hex format.
AT+CMGF=1
Then
AT+CMGS="+94xxxxxxxx" > This is the text message
+CMGS: 100 OK
Reading a message
AT+CMGR=<indexofmessage>The response will be the message indexed at 1.
Command | Description |
AT+CBC | Battery charge |
AT+CSQ | Signal quality |
For a whole set of AT commands refer this link..
Link
For a quick overview of some useful commands go to this site.
Link.
For how to communicate (like sending message, calling etc) using a microcontroller and a GSM modem (like SIM300) am gonna write a post soon.