Set command

The set command sends a new message or delivery status ACK. A client receiving unsolicited notifications for new messages and delivery status is mandated to acknowledge those. This command can be used only when the modem is activated.

  • This command can only be issued by a client registered with +CNMI.
  • After sending cause 22, the %XSMMA command needs to be used when memory is available.

If the User Equipment (UE) does not get an acknowledgement within the required time (network timeout), the it should respond as specified in 3GPP TS 24.011, and UE/Terminal Adapter (TA) shall automatically disable routing to the Terminal Equipment (TE) by setting both <mt> and <ds> values of +CNMI to zero, that is, the SMS client gets unregistered.


+CNMA[=<n>[,<length>[<CR>PDU is given<ctrl-Z/ESC>]]]

The set command parameters and their defined values are the following:

0 – The command operates in the same way as defined for the text mode, see New message ACK, text mode +CNMA
1 – Send RP-ACK
2 – Send RP-ERROR
Number of hexadecimal octets in <pdu>. 1–3 ASCII digits.
Hexadecimal numbers containing two International Reference Alphabet (IRA) characters per octet.

The example command confirms the reception of a message, timestamp 06/11/2071 13:26:31: