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.
Active %XPOFWARN warning blocks the storing to
NVM.v1.3.x≥2Syntax:
%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 – Long-Term Evolution (LTE), Internet Protocol (IP),
Global Navigation Satellite System (GNSS), and coredump
- 3 – Reserved for future use
- 4 – IP only
- 5 – LTE and IP
- <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