bluez-async
bluez-async copied to clipboard
An async Rust wrapper around the BlueZ D-Bus interface, for Bluetooth central functionality on Linux.
This is a preview and in anticipation of Rust 1.75. But it works well with current nightly either.
maybe [`zbus`](https://lib.rs/crates/zbus) would be good? It's async, doesn't depend on any C library, so can be cross-compiled easily.
Untested because gosh there's some digging to do yet... API: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/adapter-api.txt\#n170 Relates to: https://github.com/deviceplug/btleplug/issues/244
PeripheralId::from(DeviceId::new(id)) | ^^^ private associated function