Last Updated: 07/09/2008
The following AT commands can be used to send SMS via hyper terminal.
AT OK AT+CMGF=1 OK AT+CSCA="number of message centre" OK AT+CMGW="Mobile number" > A simple demo of SMS text messaging. (When finished, press Ctrl+z of the keyboard.) +CMGW: 1 (note this number) OK AT+CMSS=1 (the number is from returned value of CMGW) +CMSS: 20 OK
If an OK is received then the SMS was sent successfully.
The default behaviour is to always send SMS using the CS domain but it is possible to send SMS over PS domain. This is sometimes used by datacards that have not implemented the complete functionality of CS domain. To send SMS over PS domain, the following AT command is required
AT+cgsms=0 where 0 = PS Domain 1 = CS Domain 2 = PS Domain preferred (else use CS Domain if GPRS not available) 3 = CS Domain preferred (else use PS Domain if CS is not available)
If you use AT+cgsms=0 and If the SGSN is not configured for SMS then the sending of SMS will fail and the UE will resend the SMS automatically using CS Domain.