![Quectel UG Series Скачать руководство пользователя страница 141](http://html.mh-extra.com/html/quectel/ug-series/ug-series_command-manual_772151141.webp)
UMTS/HSPA Module Series
WCDMA UGxx AT Commands Manual
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 140 / 247
Parameter
<uid>
Message identification in the user data header (UDH). Range from 0 to 65535 (see
NOTES). All segments of a same concatenated message have same
<uid>
.
Different concatenated messages should have different
<uid>
.
<msg_seg>
Sequence number of a concatenated message. Range from 1 to 7.
<msg_total>
The total number of the segments of one concatenated message. Range is from 2 to 7.
Other parameters please refer to
AT+CMGR
1. The
<uid>
in
AT+QCMGR
is different from the
<uid>
in
AT+QCMGS
. It is possible that UE receives
concatenated messages with 8 bits or 16 bits
<uid>
. So its maximal value is 255 with 8 bits and
65535 with 16 bits.
2. If the message to be read is not a concatenated message,
<uid>
,
<msg_seg>
and
<msg_total>
would not be showed in the result.
Example
+CMTI: "SM",3
//The first message of a concatenated message comes
+CMTI: "SM",4
//The second message of a concatenated message comes
AT+QCMGR= 3
//Read the first segment of the concatenated message
+QCMGR: "REC UNREAD","+8615056913384",,"13/07/30,14:44:37+32",120,1,2
ABCD
OK
AT+QCMGR= 4
//Read the second segment of the concatenated message
+QCMGR: "REC UNREAD","+8615056913384",,"13/07/30,14:44:37+32",120,2,2
EFGH
OK
+QCMGR:
<stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<toda>],<length><
CR><LF><cdata>]
OK
Else, if error is related to ME functionality:
+CMS ERROR: <err>
Maximum Response Time
Depends on the length of message content.
NOTES
Quectel
Confidential