Skip to main content

Hardware Functions

dev.hardware - wire path h - generated from fwMenuHardware.

files

Files.

Wire command: h\x

Returns: none (Ok/Err only)

dev.hardware.files() -> Result
ow_status ow_hardware_files(ow_device* dev);
dev.hardware().files() -> 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.files() # check dev.ok