openthread::ot

Trait PlatTrel

Source
pub trait PlatTrel {
    // Required methods
    fn plat_trel_handle_received(&self, packet: &[u8]);
    fn plat_trel_handle_discovered_peer_info(
        &self,
        peer_info: &PlatTrelPeerInfo<'_>,
    );
}
Expand description

Platform methods from the OpenThread TREL Module.

Required Methods§

Source

fn plat_trel_handle_received(&self, packet: &[u8])

This function is a callback from platform to notify of a received TREL UDP packet.

Source

fn plat_trel_handle_discovered_peer_info( &self, peer_info: &PlatTrelPeerInfo<'_>, )

This is a callback function from platform layer to report a discovered TREL peer info.

Implementors§