pub const SPINEL_CMD_RESET: _bindgen_ty_22 = 1;
Expand description

Reset NCP command (Host -> NCP)

Encoding: Empty or C

Causes the NCP to perform a software reset. Due to the nature of this command, the TID is ignored. The host should instead wait for a CMD_PROP_VALUE_IS command from the NCP indicating PROP_LAST_STATUS has been set to STATUS_RESET_SOFTWARE.

The optional command payload specifies the reset type, can be SPINEL_RESET_PLATFORM, SPINEL_RESET_STACK, or SPINEL_RESET_BOOTLOADER.

Defaults to stack reset if unspecified.

If an error occurs, the value of PROP_LAST_STATUS will be emitted instead with the value set to the generated status code for the error.