diff --git a/src/main.rs b/src/main.rs index 4557a6d..0ea6818 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,6 +3,17 @@ use bluer::{self, monitor::Monitor}; use anyhow::Result; use futures::StreamExt; +struct Data { + /// Temperature in °C + temperature: f32, + + /// Humidity in % + humidity: f32, + + /// CO2 in parts per million + co2: f32, +} + #[tokio::main(flavor="current_thread")] async fn main() -> Result<()> {