5.19.1 Sending SMS
After establishing connection with the router via serial interface or Ethernet, it is possible to use AT com-
mands for work with SMS messages.
Note!
N OT E
The following table lists the commands that are supported by wieland routers. For other AT
commands
such a case
AT Command
Description
AT+CGMI
Returns the manufacturer specific identity
AT+CGMM
Returns the manufacturer specific model identity
AT+CGMR
Returns the manufacturer specific model revision identity
AT+CGPADDR
Displays the IP address of the ppp0 interface
AT+CGSN
Returns the product serial number
AT+CIMI
Returns the International Mobile Subscriber Identity number (IMSI)
AT+CMGD
Deletes a message from the location
AT+CMGF
Sets the presentation format of short messages
AT+CMGL
Lists messages of a certain status from a message storage area
AT+CMGR
Reads a message from a message storage area
AT+CMGS
Sends a short message from the device to entered tel. number
AT+CMGW
Writes a short message to SIM storage
AT+CMSS
Sends a message from SIM storage location value
AT+COPS?
Identifies the available mobile networks
AT+CPIN
Is used to query and enter a PIN code
AT+CPMS
Selects SMS memory storage types, to be used for short message operations
AT+CREG
Displays network registration status
AT+CSCA
Sets the short message service centre (SMSC) number
AT+CSCS
Selects the character set
AT+CSQ
Returns the signal strength of the registered network
AT+GMI
Returns the manufacturer specific identity
AT+GMM
Returns the manufacturer specific model identity
AT+GMR
Returns the manufacturer specific model revision identity
AT+GSN
Returns the product serial number
ATE
Determines whether or not the device echoes characters
ATI
Transmits the manufacturer specific information about the device
Example 1: SMS sending configuration.
After powering up the router, an SMS is sent to the defined phone number in the following format:
Router (Unit ID) has been powered up. Signal strength –xx dBm.
After connect to mobile network, an SMS is sent to the defined phone number in the following format:
Router (Unit ID) has established connection to mobile network. IP address xxx.xxx.xxx.xxx
After disconnect to mobile network, an SMS is sent to the defined phone number in the following format:
Router (Unit ID) has lost connection to mobile network. IP address xxx.xxx.xxx.xxx
Wieland Electric GmbH | BA001039 (Rev. A) | 08/2016
OK
response is always sent. There is no support for complex AT commands, in
ERROR
response is sent by router.
List of AT commands
Contents of Package
66