The IQRF OS change file content should be inspected before the file is stored in external EEPROM to find out the versions of IQRF OSs (and optionally DPA) it changes between and to check the file consistency.
File format
0 … 1 |
2 … 3 |
4 |
5 |
6 |
7 … 8 |
9 … 10 |
11 … 13 |
14 … 16 |
17 … Length + 3 |
Checksum |
Length |
Version |
OsVerTo |
OsVerFrom |
OsBuildTo |
OsBuildFrom |
DPAto |
DPAfrom |
Undocumented |
Checksum Fletcher-16 Checksum of the file content starting from the 3rd field Version. The initial checksum value is 0x0000.
Length Length of the file content starting from the 3rd field Version, so the total file length is Length + 4.
Version File version. Currently, only the value of 0x01 is supported.
OsVerTo IQRF OS version the file changes to. See moduleInfo IQRF OS function for more details.
OsVerFrom IQRF OS version the file changes from. See moduleInfo IQRF OS function for more details.
OsBuildTo IQRF OS build number the file changes from. See moduleInfo IQRF OS function for more details.
OsBuildFrom IQRF OS build number the file changes from. See moduleInfo IQRF OS function for more details.
DPAto 3 bytes specifying DPA version to optionally change to.
The first 2 bytes contain the DPA version at the same BCD format the enumeration uses.
3rd byte contains the following flags/bits:
0: DPA implements [C].
1: DPA implements [N].
2: 0=supports both STD and STD+LP networks, 1=supports STD+LP network.
3: SPI interface
4: UART interface
5-7: unused
Note: all 3 bytes are zero when DPA is not updated by the change file.
DPAfrom DPA version to change from. Same format as DPAto.