Skip to main content

box_command

Function box_command 

Source
pub fn box_command(
    path: &str,
    action: &str,
    params: Value,
    timeout: Timeout,
) -> HttpRequest
Expand description

Build a box-level command request (POST /ble/command, /wifi/command, /blufi/command). These endpoints drive the box’s own hardware (its Bluetooth adapter or wlan interface) rather than a saved net, so the body carries only {action, params} — no netname.