Set command

The set command activates and deactivates modem trace. The command configuration is stored to Non-volatile Memory (NVM) approximately every 48 hours and when the modem is powered off with the +CFUN=0 command.

Syntax:

%XMODEMTRACE=<oper>[,<set_id>[,<bitmap_id>,<bitmap>]]

Response syntax for Read trace bitmap:

%XMODEMTRACE: <bitmap>

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

<oper>
Operation
0 – Deactivate traces
1 – Activate predefined trace set
2 – Activate trace bitmap. To be used only on request by Nordic customer support.
3 – Read trace bitmap. To be used only on request by Nordic customer support.
<set_id>
Integer. Predefined trace set identifier.
1 – Coredump only
2 – Generic
3 – LWM2M
4 – IP only
5 – LWM2M_Generic
<bitmap_id>
Integer. Trace bitmap identifier. Used only with the assistance of Nordic customer support.
<bitmap>
String in hexadecimal International Reference Alphabet (IRA) format. Used only with the assistance of Nordic customer support.

The following command example activates trace set 1 (Coredump only):

AT%XMODEMTRACE=1,1
OK

The following command example deactivates trace:

AT%XMODEMTRACE=0
OK