reset
Reset the device (asynchronous).
As boot_mode and force parameters are not provided, the device will reboot into the application mode (normal boot mode) and the reset will not be forced (assuming CONFIG_MCUMGR_GRP_OS_RESET_HOOK enabled).
Parameters
the asynchronous callback.
See also
Reset the device (synchronous).
As boot_mode and force parameters are not provided, the device will reboot into the application mode (normal boot mode) and the reset will not be forced (assuming CONFIG_MCUMGR_GRP_OS_RESET_HOOK enabled).
Return
The response.
See also
Throws
Transport error. See cause.
Reset the device (asynchronous).
By default, this command is accepted in all conditions, however if the CONFIG_MCUMGR_GRP_OS_RESET_HOOK is enabled and an application registers a callback, the callback will be called when this command is issued and can be used to perform any necessary tidy operations prior to the module rebooting, or to reject the reset request outright altogether with an error response.
Parameters
The boot mode to use for the reset, defaults to BOOT_MODE_TYPE_NORMAL.
Should the reset be forced not allowing application to reject it, defaults to false.
the asynchronous callback.
See also
Reset the device (synchronous).
By default, this command is accepted in all conditions, however if the CONFIG_MCUMGR_GRP_OS_RESET_HOOK is enabled and an application registers a callback, the callback will be called when this command is issued and can be used to perform any necessary tidy operations prior to the module rebooting, or to reject the reset request outright altogether with an error response.
Return
The response.
Parameters
The boot mode to use for the reset, defaults to BOOT_MODE_TYPE_NORMAL.
Should the reset be forced not allowing application to reject it, defaults to false.
See also
Throws
Transport error. See cause.