As a follow on to this thread: OTAFU and Versioning
For secure OTA, according to the guide, the first four bytes will stands for firmware version information, and for non-secure OTA, where can we find the firmware version from the OTA bin file? should we specify the address of the following constant:
const WS_UPGRADE_APP_INFO WsUpgradeAppInfo
And how can we specify the address in Eclipse?
The xxx.ota.bin file is created together at the same time when you built your new application. It is inside the build folder. If this is a non-secure OTA, then simply extract this file and use the appropriate peer app to carry out the upgrading.