Skip to main content

build_sleep_command

Function build_sleep_command 

Source
pub fn build_sleep_command(lh: &Lighthouse) -> Result<Vec<u8>>
Expand description

Build the sleep control command bytes for a lighthouse.

ยงErrors

Returns an error if the lighthouse is V1 but has no ID set.