![FALCOM A2 Series Скачать руководство пользователя страница 29](http://html1.mh-extra.com/html/falcom/a2-series/a2-series_user-manual-and-command-reference_3249828029.webp)
FALCOM A2
A2MAN.DOC
08 MARCH 1999
This confidential document is the property of Funkanlagen Leipoldt OHG and may not be copied or circulated without permission.
Page 28
Defined values:
<stat>
integer type (default 0) indicates the status of
message in memory:
0
received unread message (i.e. new message)
1
received read message
2
stored unsent message
3
stored sent message
4
all messages
<index>
see text mode
<length>
integer type value 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>
GSM 04.11 SC address followed by GSM 03.40
TPDU in hexadecimal format
Remarks:
none
Source:
GSM 07.05/3.4.3,4.2
Implementation:
yes
1.8.4
AT+CMGS
Command is used to send a message to the service centre.
•
Text mode:
Command
Possible responses
+CMGS=<da>[,<toda>]<CR>
text is entered
<ctrl-Z/ESC>
+CMGS: <mr>
+CMS ERROR: <err>
+CMGS=?
OK
Defined values:
<da>
GSM 03.40 TP-Destination-Address Address-
Value field in string format
<toda>
GSM 04.11 TP-Destination-Address Type-of-
Address octet in integer format (when first
character of <da> is + (IRA 43) default is 145,
otherwise default is 129)
<mr>
GSM 03.40 TP-Message-Reference in integer
format