Set command

The set command requests to write content to a file.


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:

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.
Hexadecimal numbers containing two International Reference Alphabet (IRA) characters per octet.
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”