13.SHORT MESSAGE SERVICES - POINT TO POINT
13.7AT+CMGS Send Message
PDU Mode
Description | Command | Possible Responses |
|
|
|
Send message | AT+CMGS=<length> | • +CMGS: |
| <CR> | <mr>[,<ackpdu>] |
| PDU is | • +CMS ERROR: <err> |
| ESC> | • OK |
|
| |
|
| • ERROR |
|
|
|
Show if the command | AT+CMGS=? | • OK |
is supported |
| • ERROR |
|
|
|
Sends a message from a TE to the network
•<length> must indicate the number of octets coded in the TP layer data unit to be given (i.e. SMSC address octets are excluded).
•The TA shall send a four character sequence <CR><LF><greater_than><space> (IRA 13, 10, 62, 32) after command line is terminated with <CR>; after that PDU can be given from TE to ME/TA.
•The DCD signal is in the ON state as PDU is given.
•The echoing of given characters back from the TA is controlled by V.25ter echo command E.
•The PDU shall be hexadecimal format (similarly as specified for <pdu>) and given in one line; ME/TA converts this coding into the actual octets of PDU.
•When the length octet of the SMSC address (given in the <pdu>) equals zero, the SMSC address set with command Service Centre Address +CSCA is used.
•Sending can be cancelled by giving <ESC> character (IRA 27).
•
| <mr> | Description |
|
|
|
| Integer type | GSM 03.40 |
|
|
|
|
|
|
| <length> | Description |
|
|
|
| Integer type | Value indicating in PDU mode (+CMGF=0), the length of |
|
| the actual TP data unit in octets (i.e. the RP layer SMSC |
|
| address octets are not counted in the length) |
|
|
|
|
| 187 |
LZT 123 7361 R1A