Update Reboot
Upgrade Reboot
deviceUpdateReboot is used to put the device into bootloader mode, usually called before the firmware upgrade process. Before calling, please confirm that the user understands that the device will restart, and ensure that no other signing or setup processes are currently being executed.
const callResult = await ukeySdk.deviceUpdateReboot(connectId);
Input Fields
- null
Reference Snippet
ukeySdk.deviceUpdateReboot(connectId);
Result
{
success: true,
payload: {}
}
Errors
{
success: false,
payload: {
error: string, // Error message text
code: number // Error code value
}
}