RadioInterfaceService
Interface for the low-level radio interface that handles raw byte communication.
Properties
Link copied to clipboard
abstract val connectionState: ERROR CLASS: Symbol not found for StateFlow<ERROR CLASS: Symbol not found for ConnectionState>
Reactive connection state of the radio.
Link copied to clipboard
Flow of the current device address.
Link copied to clipboard
abstract val meshActivity: ERROR CLASS: Symbol not found for SharedFlow<ERROR CLASS: Symbol not found for MeshActivity>
Flow of radio activity events.
Link copied to clipboard
Flow of raw data received from the radio.
Link copied to clipboard
The scope in which interface-related coroutines should run.
Link copied to clipboard
The device types supported by this platform's radio interface.
Functions
Link copied to clipboard
Returns the current device address.
Link copied to clipboard
Called by an interface when it has received raw data from the radio.
Link copied to clipboard
Whether we are currently using a mock interface.
Link copied to clipboard
Called by an interface when it has disconnected.
Link copied to clipboard
Sends a raw byte array to the radio.
Link copied to clipboard
Sets the device address to connect to.
Link copied to clipboard
abstract fun toInterfaceAddress(interfaceId: ERROR CLASS: Symbol not found for InterfaceId, rest: String): String
Constructs a full radio address for the specific interface type.