blew is a cross-platform BLE central + peripheral library.
Supports iOS, macOS, Linux, and Android. Each role is initialised independently, and in its simplest form:
# async
blew is a cross-platform BLE central + peripheral library.
Supports iOS, macOS, Linux, and Android. Each role is initialised independently, and in its simplest form:
# async fn example() -> blew::error::BlewResult<()> {
use blew::central::{Central, ScanFilter};
use blew::peripheral::Peripheral;
let central: Central = Central::new().await?;
central.start_scan(ScanFilter::default()).await?;
let peripheral: Peripheral = Peripheral::new().await?;
# Ok(())
# }