OTA file system update process
Since OTA file system updates are signed, remote devices must be configured so that they can validate incoming updates. To set up a network for OTA file system updates:
- Generate a public/private Elliptic Curve Digital Signature Algorithm (ECDSA) signing key pair.
- Using the generated public key, set FK (File System Public Key) on all devices that will receive OTA file system updates.
Note You cannot set FK remotely. You must either set FK before the XBee 3 Zigbee RF Module is deployed, or else serial access to the device is needed to set it.
To perform an OTA file system update:
- On a local device, create a copy of the file system that you want to send over the air.
- Create an OTA file system image, signed using the private key generated previously.
- Perform an OTA update using the created OTA file.
Note The local device used to create the file system image must have the same firmware version installed as the target device or the file system will be rejected. Use VR (Firmware Version) to check the version number on both the staging and target devices.
You can perform all of these steps automatically through XCTU or manually using other tools.