hive_btle/platform/linux/
mod.rs

1//! Linux/BlueZ platform implementation
2//!
3//! This module provides the BLE adapter implementation for Linux using
4//! the `bluer` crate (BlueZ D-Bus bindings).
5//!
6//! ## Requirements
7//!
8//! - Linux with BlueZ 5.48+
9//! - D-Bus system bus access
10//! - Bluetooth adapter (built-in, USB dongle, etc.)
11//!
12//! ## Usage
13//!
14//! ```ignore
15//! use hive_btle::platform::linux::BluerAdapter;
16//! use hive_btle::{BleConfig, NodeId};
17//!
18//! let config = BleConfig::new(NodeId::new(0x12345678));
19//! let mut adapter = BluerAdapter::new().await?;
20//! adapter.init(&config).await?;
21//! adapter.start().await?;
22//! ```
23
24mod adapter;
25mod connection;
26
27pub use adapter::BluerAdapter;
28pub use connection::BluerConnection;