REST API Devices Routes Special Reset (bootloader)
April 13, 2023 at 2:39 AMRestart a device in bootloader mode
Role
Use this command to have the device perform a soft reset, and then stay in bootloader mode, waiting for a new firmware.
Depending on the communication interface, it may take some time before the device becomes available in bootloader mode. Pay attention that the device is likelly to get a different DeviceId when started in bootloader mode.
Prototype
URL : /device/{$id}/reset-bootloader
Method : POST
URL Params : {$id}
: the DeviceId of the device. Use GET /devices to enumerate the connected devices.
Request data : None
Success Response
Code : 200 OK
Content : a SUCCESS object.
Error Response
See Error Responses.