NeoPixel Light Show
dev.hardware.settings_home.light_show_settings - wire path h\s\n - generated from fwMenuLightShowSettings.
channel1
Channel 1. Turn the built-in NeoPixel light show on or off (fixed pins, not selectable)
Wire command: h\s\n\a
| Arg | Wire type |
|---|---|
| value |
Returns: none (Ok/Err only)
dev.hardware.settings_home.light_show_settings.channel1(value: int) -> Result
ow_status ow_hardware_settings_home_light_show_settings_channel1(ow_device* dev, int32_t value);
dev.hardware().settings_home().light_show_settings().channel1(value: i32) -> 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.light_show_settings.channel1(value) # check dev.ok
channel2
Channel 2. Not currently used by the firmware; has no effect
Wire command: h\s\n\b
| Arg | Wire type |
|---|---|
| value |
Returns: none (Ok/Err only)
dev.hardware.settings_home.light_show_settings.channel2(value: int) -> Result
ow_status ow_hardware_settings_home_light_show_settings_channel2(ow_device* dev, int32_t value);
dev.hardware().settings_home().light_show_settings().channel2(value: i32) -> 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.light_show_settings.channel2(value) # check dev.ok
channel3
Channel 3. Not currently used by the firmware; has no effect
Wire command: h\s\n\c
| Arg | Wire type |
|---|---|
| value |
Returns: none (Ok/Err only)
dev.hardware.settings_home.light_show_settings.channel3(value: int) -> Result
ow_status ow_hardware_settings_home_light_show_settings_channel3(ow_device* dev, int32_t value);
dev.hardware().settings_home().light_show_settings().channel3(value: i32) -> 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.light_show_settings.channel3(value) # check dev.ok
channel4
Channel 4. Not currently used by the firmware; has no effect
Wire command: h\s\n\f
| Arg | Wire type |
|---|---|
| value |
Returns: none (Ok/Err only)
dev.hardware.settings_home.light_show_settings.channel4(value: int) -> Result
ow_status ow_hardware_settings_home_light_show_settings_channel4(ow_device* dev, int32_t value);
dev.hardware().settings_home().light_show_settings().channel4(value: i32) -> 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.light_show_settings.channel4(value) # check dev.ok
use_wili_wasm
Use WiliWasm. Not currently used by the firmware; has no effect
Wire command: h\s\n\e
Returns: none (Ok/Err only)
dev.hardware.settings_home.light_show_settings.use_wili_wasm() -> Result
ow_status ow_hardware_settings_home_light_show_settings_use_wili_wasm(ow_device* dev);
dev.hardware().settings_home().light_show_settings().use_wili_wasm() -> 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.light_show_settings.use_wili_wasm() # check dev.ok