pub unsafe extern "C" fn otInstanceResetToBootloader(
aInstance: *mut otInstance,
) -> otError
Expand description
Triggers a platform reset to bootloader mode, if supported.
Requires OPENTHREAD_CONFIG_PLATFORM_BOOTLOADER_MODE_ENABLE
.
@param[in] aInstance A pointer to an OpenThread instance.
@retval OT_ERROR_NONE Reset to bootloader successfully. @retval OT_ERROR_BUSY Failed due to another operation is ongoing. @retval OT_ERROR_NOT_CAPABLE Not capable of resetting to bootloader.