Expand description
Platform-agnostic types for Aranet environmental sensors.
This crate provides shared types used across all aranet crates including aranet-core, aranet-cli, aranet-tui, and aranet-gui.
§Features
- Core data types for sensor readings
- Device information structures
- UUID constants for BLE characteristics
- Error types for data parsing
§Example
use aranet_types::{CurrentReading, Status, DeviceType};
// Types can be used for parsing and serializationRe-exports§
pub use error::ParseError;pub use error::ParseResult;pub use types::CurrentReading;pub use types::CurrentReadingBuilder;pub use types::DeviceInfo;pub use types::DeviceInfoBuilder;pub use types::DeviceType;pub use types::HistoryRecord;pub use types::HistoryRecordBuilder;pub use types::MIN_CURRENT_READING_BYTES;pub use types::Status;pub use uuid as ble;