Crate lego_powered_up
source ·Re-exports
pub use crate::consts::IoTypeId;
pub use crate::iodevice::IoDevice;
pub use hubs::Hub;
pub use error::Error;
pub use error::OptionContext;
pub use error::Result;
pub use btleplug;
pub use futures;
Modules
- Various constants defined by the specification, but translated into Rust types
- Specific implementations for each of the supported hubs.
- Parser and data structure for hub notification messages
- Convenience functions
Macros
Structs
- Struct describing a discovered hub. This description may be passed to
PoweredUp::create_hub
to initialise a connection.
Enums
- Properties by which to filter discovered hubs