Trait ockam_transport_ble::driver::BleClientDriver
source · [−]pub trait BleClientDriver {
fn scan<'life0, 'life1, 'async_trait>(
&'life0 mut self,
ble_addr: &'life1 BleAddr
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn connect<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Implement the BleClientDriver trait if you want to allow your hardware to function as a BLE Client