BlueBus
BlueBus is a Rust library for interacting with Bluetooth devices using the zbus. It provides an async-first interface for scanning, managing, and communicating with Bluetooth devices on Linux systems.
Features
✅ Device Discovery: Scan for available Bluetooth devices.
✅ Device Management: Connect, pair, unpair, and trust devices.
✅ GATT Support: Read and write Bluetooth characteristics.
✅ Low Energy Advertisement: Manage Bluetooth LE advertisements.
✅ Async Support: Fully compatible with tokio and async/await.
Installation
Add bluebus to your Cargo.toml:
[]
= "0.1"
Example Usage
This example scans for Bluetooth devices and prints their addresses:
async
Documentation
Detailed API documentation is available on docs.rs.
License
BlueBus is licensed under either:
Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request on GitHub.