Expand description
This crate is pure Rust ECHONET Lite implementation including
- serde implementation of ECHONET Lite packet
- detailed property configurations of ECHONET Device objects (WIP)
but not included
- transport layer (usually, UDP with IPv4/IPv6) implementation
- specific ECHONET Lite object behavior
Re-exports§
pub use crate::object::EchonetObject;
Modules§
Macros§
- bulk_
read - Create a Properties object for Get request obtaining one or more property values.
- prop
- Create a Property object from a pair of EPC (u8) and EDT ([u8; _]).
- props
- Create a Properties object from an array of EPC (u8) and EDT ([u8; _]) pairs.
Structs§
- Edt
- ECHONET property value data.
- ElPacket
- An ECHONET Lite packet representation.
- ElPacket
Builder - Builds a ECHONET Lite packet.
- Properties
- An ECHONET property array consists of
OPC, EPC1, PDC1, EDT1 ... EPCn, PDCn, EDTn. - Property
- A ECHONET property putting EPC, OPC, and EDT together.
Enums§
- Error
Kind - The kind of error that can be produced during a serialization or deserialization.
- Service
Code - Reperesents ECHONET LiteService (ESV). The service code specifies an operation for properties stipulated by the EPC.