Re-exports§
pub use error::BleError;pub use error::BleResult;pub use transport::hook::BleDedupHook;pub use transport::BlePeerInfo;pub use transport::BlePeerPhase;pub use transport::BleTransport;pub use transport::BleTransportBuilder;pub use transport::ConnectPath;pub use transport::InMemoryPeerStore;pub use transport::IncomingPacket;pub use transport::KEY_PREFIX_LEN;pub use transport::KeyPrefix;pub use transport::L2capPolicy;pub use transport::PeerSnapshot;pub use transport::PeerStore;
Modules§
Structs§
- Advertising
Config - Configuration for a BLE advertisement.
- Attribute
Permissions - ATT attribute permissions.
- BleDevice
- A discovered BLE device snapshot.
- Central
- BLE Central (a client in bluetooth-speak): scanner, connector, and GATT/L2CAP client.
- Central
Config - Configuration for initialising the central role.
- Characteristic
Properties - GATT characteristic properties, matching the BLE spec bit layout.
- Device
Id - Platform-specific device identifier. On Apple platforms this is a UUID string; on Linux/Android it is a hex MAC address.
- Gatt
Characteristic - A GATT characteristic.
- Gatt
Service - Peripheral
- BLE peripheral (server in bluetooth-speak) role: advertiser, GATT server, L2CAP listener.
- Read
Responder - Owned handle for responding to a GATT read request.
- Scan
Filter - Filter applied during scanning.
- Write
Responder - Owned handle for acknowledging a GATT write request.
Enums§
- Blew
Error - Central
Event - Events emitted by the central (scanner/client) role.
- Peripheral
Request - Inbound GATT requests from remote centrals.
- Peripheral
State Event - Non-request events from the peripheral role. Clone-able; multiple subscribers welcome.
- Write
Type - How a characteristic write is delivered to the remote.