GM29 INTEGRATOR’S MANUAL
TE on successful message delivery. Optionally (when +CSMS <service> value is 1 and network supports) <ackpdu> is returned. Values can be used to identify message upon unsolicited delivery status report result code. If sending fails in a network or an ME error, final result code +CMS ERROR: <err> is returned. This command is abortable.
| <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) | |
|
|
|
|
| <pdu> | Description |
|
|
|
| |
| String | In the case of SMS: GSM 04.11 SC address followed by | |
|
| GSM 03.40 TPDU in hexadecimal format: ME/TA converts | |
|
| each octet of TP data unit into two IRA character long | |
|
| hexadecimal number (e.g. octet with integer value 42 is | |
|
| presented to TE as two characters 2A (IRA 50 and 65)) | |
|
| In the case of CBS: GSM 03.41 TPDU in hexadecimal format | |
|
|
|
|
| <mr> | Description |
|
|
|
| |
| Integer type | GSM 03.40 | |
|
|
|
|
|
|
|
|
| <ackpdu> | Description |
|
|
|
| |
| String | GSM 03.40 | |
|
| same as for <pdu> in case of SMS, but without GSM 04.11 | |
|
| SC address field and parameter shall be bounded by | |
|
| double quote characters like a normal string type | |
|
| parameter |
|
|
|
|
|
Text Mode |
|
| |
|
|
|
|
| Description | Command | Possible Responses |
|
|
|
|
| Send command | AT+CMGC=<fo>,<ct>[,<pid> | • if PDU mode |
| message | [,<mn>[,<da>[,<toda>]]]] | (+CMGF=1) and |
|
| <CR> | sending successful: |
|
| Text is | +CMGC: |
|
|
| <mr>[,<scts>] |
|
|
| • if sending fails: |
|
|
| +CMS ERROR: <err> |
|
|
| • OK |
|
|
| • ERROR |
|
|
|
|
| Show if the | AT+CMGC=? | • OK |
| commands is |
| • ERROR |
| supported |
|
|
|
|
|
|
Sends a command message from a TE to the network (SMS- COMMAND). The entering of text is as specified in the send message command, +CMGS, but the format is fixed to be a sequence of two IRA character long hexadecimal numbers, which the ME/TA converts into
192
LZT 123 7361 R1A