Medium Adapter

The Medium Adapter provides the interface between the MOSH transport layer and the physical transport mechanism.

Examples include:

UART / Serial ESP-NOW nRF24L01 TCP/UDP (for bridges)

Responsibilities include:

Sending raw byte buffers Receiving raw byte buffers Handling transport-specific constraints (MTU, timing, buffering)

The transport layer must not depend on any specific medium; all interaction occurs through this abstraction.