firmwareUpdate
Last updated
Was this helpful?
Last updated
Was this helpful?
Update stm32 firmware / Bluetooth firmware version. Firmware upgrades are supported in two ways:
Use the firmware upgrade resource on the OneKey server and simply pass in the version number.
Use the user-specified binary data to upgrade the firmware. Use this method with caution; incorrect data can result in hardware data loss.
updateType
— required 'firmware' | 'ble'
firmware upgrade type
binary
— optional ArrayBuffer
firmware binary data when you upgrade with a custom file
version
— optional Array
specifying the firmware version number will match the version information in the resource list provided by OneKey
Result
Error