RadioTransportCallback
Narrow callback interface for transport → service communication.
Transport implementations (RadioTransport) need only these three methods to report lifecycle events and deliver data. This replaces the previous pattern of passing the full RadioInterfaceService to transport constructors, decoupling transports from the service layer.
Inheritors
Functions
Link copied to clipboard
Called when the transport has received raw data from the radio.
Link copied to clipboard
abstract fun onDisconnect(isPermanent: Boolean, errorMessage: String? = null, reason: TransportDisconnectReason? = null)
Called when the transport has disconnected.