OnCell G2150I AT Command Set

Short Message Commands

 

 

 

 

AT+CNMI=2,2,0,0,0

OK

 

Note: <mt>=2

 

 

 

+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

OK

Note: SMS AT commands compatible with

 

GSM 07.05 Phase 2 + version

 

AT+CMGF=0

OK

Note: Set PDU mode

Note: PDU mode valid

AT+CNMI=2,2,0,0,0

OK

Note: <mt>=2

 

 

+CMT: ,29

 

07913366003000F1240B913366920547

 

F30000003003419404800B506215D42E

 

CFE7E17319

 

Note: message received

AT+CNMA=2,2<CR>

OK

>00D3 <Ctrl-Z>

 

Note: Negative ACK to the SMS. Reason is:

 

memory capacity exceeded

 

AT+CNMA=2,2<CR>

OK

>00D0 <Ctrl-Z>

 

Note: Negative ACK to the SMS. Reason is:

 

SIM memory storage is full

 

AT+CNMA=2,2<CR>

OK

>00D2 <Ctrl-Z>

 

Note: Negative ACK to the SMS. Reason is:

 

Error in MS

 

AT+CNMA=2,2<CR>

OK

>00FF <Ctrl-Z>

 

Note: Negative ACK to the SMS. Unspecified

 

error

 

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.

7-4

Page 57
Image 57
Moxa Technologies G2150I GSM 07.05 Phase 2 + version, Memory capacity exceeded, SIM memory storage is full, Error in MS