send

abstract suspend fun send(frame: Frame)(source)

Send a framed packet synchronously to the device.

May throw MeshtasticException.Transport for I/O failures. The SDK sends frames sequentially; transports do not need to serialize themselves.

Cancellation: if the caller's coroutine is cancelled mid-send the implementation must rethrow kotlin.coroutines.cancellation.CancellationException. The frame may have been partially written to the wire — the engine treats a cancelled send as "delivery outcome unknown" and surfaces it via the corresponding MessageHandle.