Skip to main content

Crate iroh_ble_transport

Crate iroh_ble_transport 

Source

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§

error
transport
Transport layer module tree. BleTransport itself lives in transport.rs.

Structs§

AdvertisingConfig
Configuration for a BLE advertisement.
AttributePermissions
ATT attribute permissions.
BleDevice
A discovered BLE device snapshot.
Central
BLE Central (a client in bluetooth-speak): scanner, connector, and GATT/L2CAP client.
CentralConfig
Configuration for initialising the central role.
CharacteristicProperties
GATT characteristic properties, matching the BLE spec bit layout.
DeviceId
Platform-specific device identifier. On Apple platforms this is a UUID string; on Linux/Android it is a hex MAC address.
GattCharacteristic
A GATT characteristic.
GattService
Peripheral
BLE peripheral (server in bluetooth-speak) role: advertiser, GATT server, L2CAP listener.
ReadResponder
Owned handle for responding to a GATT read request.
ScanFilter
Filter applied during scanning.
WriteResponder
Owned handle for acknowledging a GATT write request.

Enums§

BlewError
CentralEvent
Events emitted by the central (scanner/client) role.
PeripheralRequest
Inbound GATT requests from remote centrals.
PeripheralStateEvent
Non-request events from the peripheral role. Clone-able; multiple subscribers welcome.
WriteType
How a characteristic write is delivered to the remote.