Skip to main content

Device Settings

dev.hardware.settings_home - wire path h\s - generated from fwMenuSettingsHome.

software_reset

Software Reset. Performs a software reset of the device.

Wire command: h\s\1

Returns: none (Ok/Err only)

dev.hardware.settings_home.software_reset() -> Result
ow_status ow_hardware_settings_home_software_reset(ow_device* dev);
dev.hardware().settings_home().software_reset() -> Result<(), OwError>

The C and Rust signatures above are also the WASM guest signatures - the device API surface is identical; only the transport differs (ow_open_wasm(&dev) in C, OneWili::open() in Rust).

dev.hardware.settings_home.software_reset() # check dev.ok

software_reset_to_bootloader

Reset To Bootloader. Resets the device into the USB bootloader.

Wire command: h\s\2

Returns: none (Ok/Err only)

dev.hardware.settings_home.software_reset_to_bootloader() -> Result
ow_status ow_hardware_settings_home_software_reset_to_bootloader(ow_device* dev);
dev.hardware().settings_home().software_reset_to_bootloader() -> Result<(), OwError>

The C and Rust signatures above are also the WASM guest signatures - the device API surface is identical; only the transport differs (ow_open_wasm(&dev) in C, OneWili::open() in Rust).

dev.hardware.settings_home.software_reset_to_bootloader() # check dev.ok

all_settings_to_defaults

All Settings To Defaults. Restores all settings to their default values.

Wire command: h\s\3

Returns: none (Ok/Err only)

dev.hardware.settings_home.all_settings_to_defaults() -> Result
ow_status ow_hardware_settings_home_all_settings_to_defaults(ow_device* dev);
dev.hardware().settings_home().all_settings_to_defaults() -> Result<(), OwError>

The C and Rust signatures above are also the WASM guest signatures - the device API surface is identical; only the transport differs (ow_open_wasm(&dev) in C, OneWili::open() in Rust).

dev.hardware.settings_home.all_settings_to_defaults() # check dev.ok