Skip to main content

iroh_ble_transport/
lib.rs

1pub mod error;
2pub mod transport;
3
4pub use blew::BlewError;
5pub use blew::central::{CentralEvent, ScanFilter, WriteType};
6pub use blew::gatt::props::{AttributePermissions, CharacteristicProperties};
7pub use blew::gatt::service::{GattCharacteristic, GattService};
8pub use blew::peripheral::{
9    AdvertisingConfig, PeripheralRequest, PeripheralStateEvent, ReadResponder, WriteResponder,
10};
11pub use blew::{BleDevice, Central, CentralConfig, DeviceId, Peripheral};
12pub use error::{BleError, BleResult};
13pub use transport::hook::BleDedupHook;
14pub use transport::{
15    BlePeerInfo, BlePeerPhase, BleTransport, BleTransportBuilder, ConnectPath, InMemoryPeerStore,
16    IncomingPacket, KEY_PREFIX_LEN, KeyPrefix, L2capPolicy, PeerSnapshot, PeerStore,
17};