The WincWifi struct has the following APIs, which are missing on the AsyncClient struct;
pub fn read_ethernet_packet(&mut self, buffer: Option<&mut [u8]>, timeout: Option<u32>) -> Result<usize, StackError>;
pub fn send_ethernet_packet(&mut self, net_pkt: &[u8]) -> Result<(), StackError>;
As an aside, why is buffer an Option?, and could timeout instead be an Option<Duration> or renamed to timeout_ms.
The
WincWifistruct has the following APIs, which are missing on theAsyncClientstruct;As an aside, why is buffer an
Option?, and could timeout instead be anOption<Duration>or renamed to timeout_ms.