Moxa Technologies G2150I Carrying Case User Manual


 
OnCell G2150I AT Command Set Short Message Commands
7-4
AT+CNMI=2,2,0,0,0
Note: <mt>=2
OK
+CMT: “123456”,”98/10/01,12:30 00+00”, 129, 4,
32, 240, “15379”, 129, 5<CR><LF>
Received message
Note: message received
Example of acknowledgement of a new message in PDU mode:
Command Possible responses
AT+CSMS=1
Note: SMS AT commands compatible with
GSM 07.05 Phase 2 + version
OK
AT+CMG F=0
Note: Set PDU mode
OK
Note: PDU mode valid
AT+CNMI=2,2,0,0,0
Note: <mt>=2
OK
+CMT: ,29
07913366003000F1240B913366920547
F30000003003419404800B506215D42E
CFE7E17319
Note: message received
AT+CNMA=2,2<CR>
>00D3 <Ctrl-Z>
Note: Negative ACK to the SMS. Reason is:
memory capacity exceeded
OK
AT+CNMA=2,2<CR>
>00D0 <Ctrl-Z>
Note: Negative ACK to the SMS. Reason is:
SIM memory storage is full
OK
AT+CNMA=2,2<CR>
>00D2 <Ctrl-Z>
Note: Negative ACK to the SMS. Reason is:
Error in MS
OK
AT+CNMA=2,2<CR>
>00FF <Ctrl-Z>
Note: Negative ACK to the SMS. Unspecified
error
OK
Defined values:
<n>: Type of acknowledgement in PDU mode
0: send RP-ACK without PDU (same as TEXT mode)
1: send RP-ACK with optional PDU message
2: send RP-ERROR with optional PDU message
<length>: Length of the PDU message Please refer to GSM 03.40 Recommendation for other
PDU negative acknowledgement codes.