Trait kernel::hil::ble_advertising::BleAdvertisementDriver

source ·
pub trait BleAdvertisementDriver<'a> {
    // Required methods
    fn transmit_advertisement(
        &self,
        buf: &'static mut [u8],
        len: usize,
        channel: RadioChannel,
    );
    fn receive_advertisement(&self, channel: RadioChannel);
    fn set_receive_client(&self, client: &'a dyn RxClient);
    fn set_transmit_client(&self, client: &'a dyn TxClient);
}

Required Methods§

source

fn transmit_advertisement( &self, buf: &'static mut [u8], len: usize, channel: RadioChannel, )

source

fn receive_advertisement(&self, channel: RadioChannel)

source

fn set_receive_client(&self, client: &'a dyn RxClient)

source

fn set_transmit_client(&self, client: &'a dyn TxClient)

Implementors§