Send SMS with the Telit GM862 module
For setting the SIM Card like predefined memory:
AT+CPBS="SM" < CR>
TO FIND a PHONE NUMBER from the SIM CARD by inserting the NAME
AT+CPBF="FRA" < CR>// all the names in phone book that begin with FRA....
TO FIND a PHONE NUMBER from the SIM CARD by INDEX
AT+CPBR=x < CR>// x=index number
To WRITE on the SIM
AT+CPBW=, "012345",129, "Friend"< CR>// Saves the number 012345 of my Friend
AT+CPBW=INDEX, NUMBER, TYPE, NAME< CR>
INDEX can be assigned directly by the SIM CARD, leave empty
NUMBER phone number
TYPE national format (129) or international (145) with the character "+" (for example +39 for Italy)
NAME the name to which the phone number will be associated
TO CANCEL a number in the SIM CARD
AT+CPBW=x< CR>// x it is the index of the number to be canceled
The commands used are drawn from releasable detailed lists AT COMMAND from the Telit GM862 site
http://www.telit.co.it/modules.asp
SEND A SMS WITHOUT SAVING IT
AT+CMGS=+3933500000 // Send the telephone number and Wait for the answer of the module:> // answer of the MODULE
this is the message to send< CTRL Z> // Send the test of the SMS and finish with CTRL Z (ASCII decimale 26)
- Chris's blog
- 3665 reads





Post new comment