nrf9160

Set command

The set command selects between Protocol Data Unit (PDU) and text format.

This command can be issued only by a client registered with +CNMI.

Syntax:

+CMGF=[<mode>]
+CMS ERROR code
300 – ME failure.
302 – Not allowed.

The set command parameter and its defined value are the following:

<mode>
0 – PDU mode, default value

The following command example sets the message format to PDU mode:

AT+CMFG=0
OK