SIM5300E AT Command Manual V1.02
If error is related to ME functionality:
+CMS ERROR: <err>
Parameters
<oa> GSM 03.40 TP-Originating-Address Address-
format(string should be included in quotation marks); BCD numbers (or GSM
default alphabet characters) are converted to characters of the currently
selected TE character set (specified by +CSCS in 3GPP TS 27.007);type of
address given by <tooa>
<da> GSM 03.40 TP-Destination-Address Address-Value field in string
format(string should be included in quotation marks); BCD numbers (or GSM
default alphabet characters) are converted to characters of the currently
selected TE character set (specified by +CSCS in 3GPP TS 27.007); type of
address given by <toda>
<tooa> GSM 04.11 TP-Originating-Address Type-of-Address octetin integer
format (default refer <toda>)
<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)
129 Unknown type(IDSN format number)
161 National number type(IDSN format)
145 International number type(ISDN format)
177 Network specific number(ISDN format)
<length> Integer type value (not exceed 160 bytes) indicating in the text
mode (+CMGF=1)
the length of the message body <data>(or <cdata>) in
characters;
or 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)
<stat>
in the text mode (+CMGF=1):
"STO UNSENT" Stored unsent messages
"STO SENT" Stored sent messages
in PDU mode (+CMGF=0):
0 Received unread messages
1 Received read messages
2 Stored unsent messages
3 Stored sent messages
<pdu> In the case of SMS: GSM 04.11 SC address followed by GSM 03.40