
13. SHORT MESSAGE SERVICES - POINT TO POINT
Text Mode
Description | Command | Possible Responses | |
|
|
| |
List message | AT+CMGL | • If text mode (+CMGF=1), command | |
| =[<stat>] |
| successful and |
|
|
| DELIVERs: |
|
|
| +CMGL: |
|
|
| <index1>,<stat>,<oa/da>,[<alpha>], |
|
|
| [<scts>][,<tooa/toda>,<length>] |
|
|
| <CR><LF><data>[<CR><LF> |
|
|
| +CMGL: |
|
|
| <index2>,<stat>,<oa/da>,[<alpha>], |
|
|
| [<scts>][,<tooa/toda>,<length>] |
|
|
| <CR><LF><data>[…]] |
|
| • If text mode (+CMGF=1), command | |
|
|
| successful and |
|
|
| +CMGL: |
|
|
| <index1>,<stat>,<fo>,<mr>, [<ra>], |
|
|
| [<tora>],<scts>,<dt>,<st> [<CR><LF> |
|
|
| +CMGL: |
|
|
| <index2>,<stat>,<fo>,<mr>,[<ra>], |
|
|
| [<tora>],<scts>,<dt>,<st>[…]] |
|
| • If text mode (+CMGF=1), command | |
|
|
| successful and |
|
|
| +CMGL: |
|
|
| <index>,<stat>,<fo>,<ct> [<CR><LF> |
|
|
| +CMGL: |
|
|
| <index>,<stat>,<fo>,<ct>[…]] |
|
| • If text mode (+CMGF=1), command | |
|
|
| successful and CBM storage: |
|
|
| +CMGL: |
|
|
| <index>,<stat>,<sn>,<mid>,<page>, |
|
|
| <pages>,<CR><LF><data>[<CR><LF> |
|
|
| +CMGL: |
|
|
| <index>,<stat>,<sn>,<mid>,<page>, |
|
|
| <pages><CR><LF> <data>[…]] |
|
| • | Otherwise: |
|
|
| +CMS ERROR: <err> |
|
|
|
|
Read the |
| • | +CMGL:<stat> |
current |
| • | +CMS ERROR: <err> |
setting |
|
|
|
|
|
| |
Test if the | AT+CMGL=? | • +CMGL: (list of supported <stat>s) | |
command is |
| • +CMS ERROR: <err> | |
supported |
|
|
|
|
|
|
|
Returns messages with status value <stat> from message storage <mem1> to the TE. About text mode parameters in Italics, refer command Show Text Mode Parameters (+CSDH). If the status, of the message is ‘received unread’, status in the storage changes to ‘received read’. If listing fails final result code +CMS ERROR: <err> is returned.
<index> | Description |
|
|
Integer type | Value in the range of location numbers supported by |
| <mem1> |
|
|
205
LZT 123 7361 R1A