lifx
lifx copied to clipboard
LIFX LAN network protocol in rust
I am somewhat uncomfortable with this definition: https://github.com/eminence/lifx/blob/08526bb6bb260be75fa1f5e90904f1643050fff2/lifx-core/src/lib.rs#L1221 It has the following problems: * The 82 value is hard-coded, perhaps at bare minimum should be a constant. * Creating a...
Implements #10 with some basic error handling logic.
In `RawMessage::unpack`, we are doing a bunch of asserts to make sure that the incoming bytes are expected. These asserts will panic, which is not great. Instead, we should convert...