The set command requests to write content to a file.
Active %XPOFWARN warning prevents writing to
NVM.v1.3.x≥2
Syntax:
%XFILEWRITE=<file>,<content>[,<checksum>]
- +CME ERROR code
- 518 – Not allowed in active state.
- 528 – Not allowed when power off warning is active.
The
set command parameters and their defined values are the following:
- <file>
- 1 – Global Navigation Satellite System (GNSS) almanac.
- Up-to-date content of the GNSS almanac file can be found in the GNSS sample
applications of nRF Connect SDK.
- <content>
- Hexadecimal numbers containing two International Reference Alphabet (IRA) characters per
octet.
- <checksum>
- Checksum of the content calculated over the sha256 algorithm. Mandatory for GNSS
almanac file.
The following command example requests to write the GNSS almanac to a
file:
AT%XFILEWRITE=1, “f0ea0200312a080000000031...”,”bf38c845eab79f459f7b3ef4393f1a2860d309952832a0073b990f12a7274e64”
OK