receive_packet

Function receive_packet 

Source
pub fn receive_packet(
    uart: &mut dyn Uart,
    timeout: Duration,
    ack: bool,
) -> Result<Packet, &'static str>
Expand description

Function to receive a packet with a timeout