Module transport

Module transport 

Source
Expand description

Transport abstraction for the MMDVM async shell.

Consumers provide any type that implements both [AsyncRead] and [AsyncWrite] — the shell takes ownership and drives it from the internal modem loop. Typical concrete types:

  • tokio::io::DuplexStream for unit tests
  • tokio_serial::SerialStream for USB-CDC (Kenwood TH-D75)
  • thd75::transport::EitherTransport for the USB/Bluetooth SPP auto-selection used by the TH-D75 crates

Traits§

Transport
Async bidirectional byte stream for talking to an MMDVM modem.