mirror of
https://codeberg.org/icewind/mitemp-rs.git
synced 2026-06-03 17:24:08 +02:00
export bdaddr
This commit is contained in:
parent
3520d0705b
commit
a98180af09
3 changed files with 4 additions and 5 deletions
|
|
@ -5,8 +5,7 @@ Read Xiaomi MI Temperature and Humidity Sensor over BLE
|
|||
## Usafe
|
||||
|
||||
```rust
|
||||
use btleplug::api::BDAddr;
|
||||
use mitemp::{adapter_by_mac, listen};
|
||||
use mitemp::{adapter_by_mac, listen, BDAddr};
|
||||
use std::str::FromStr;
|
||||
|
||||
fn main() -> Result<(), btleplug::Error> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue