Some usefull AT commands:
Commands:
AT&F (Reset to factory settings)
AT+CMGF=1 (Turn off the PDU mode)
AT+CPMS="ME" (Save SMS messages to phone memory, not SIM)
AT+CNMI=,1 (When SMS message received - send notification to serial)
To send SMS: AT+CMGS="+33273022", then type your message. When done enter Ctrl-Z
To receive SMS: when phone recieves SMS, it sends: +CMGL: [no]. no is the SMS number, e.g. +CMGL: 1
To view SMS: AT+CMGR=[no]
To delete SMS: AT+CMGD=[no]
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Some usefull AT commands:
Commands:
AT&F (Reset to factory settings)
AT+CMGF=1 (Turn off the PDU mode)
AT+CPMS="ME" (Save SMS messages to phone memory, not SIM)
AT+CNMI=,1 (When SMS message received - send notification to serial)
To send SMS: AT+CMGS="+33273022", then type your message. When done enter Ctrl-Z
To receive SMS: when phone recieves SMS, it sends: +CMGL: [no]. no is the SMS number, e.g. +CMGL: 1
To view SMS: AT+CMGR=[no]
To delete SMS: AT+CMGD=[no]
Bogdan