AndroidRadioControllerImpl

Android RadioController implementation that delegates to the bound MeshService via AIDL.

All radio commands are forwarded through AndroidServiceRepository.meshService. If the service is not yet bound, commands are silently dropped with a warning log.

Constructors

Link copied to clipboard
constructor(context: Context, serviceRepository: AndroidServiceRepository, nodeRepository: NodeRepository)

Properties

Link copied to clipboard
open override val clientNotification: StateFlow<ClientNotification?>
Link copied to clipboard
open override val connectionState: StateFlow<ConnectionState>

Delegates to ServiceRepository.connectionState — the canonical app-level source of truth.

Functions

Link copied to clipboard
open suspend override fun beginEditSettings(destNum: Int)
Link copied to clipboard
open override fun clearClientNotification()
Link copied to clipboard
open suspend override fun commitEditSettings(destNum: Int)
Link copied to clipboard
open suspend override fun factoryReset(destNum: Int, packetId: Int)
Link copied to clipboard
open suspend override fun favoriteNode(nodeNum: Int)
Link copied to clipboard
open suspend override fun getCannedMessages(destNum: Int, packetId: Int)
Link copied to clipboard
open suspend override fun getChannel(destNum: Int, index: Int, packetId: Int)
Link copied to clipboard
open suspend override fun getConfig(destNum: Int, configType: Int, packetId: Int)
Link copied to clipboard
open suspend override fun getDeviceConnectionStatus(destNum: Int, packetId: Int)
Link copied to clipboard
open suspend override fun getModuleConfig(destNum: Int, moduleConfigType: Int, packetId: Int)
Link copied to clipboard
open suspend override fun getOwner(destNum: Int, packetId: Int)
Link copied to clipboard
open override fun getPacketId(): Int
Link copied to clipboard
open suspend override fun getRingtone(destNum: Int, packetId: Int)
Link copied to clipboard
open suspend override fun nodedbReset(destNum: Int, packetId: Int, preserveFavorites: Boolean)
Link copied to clipboard
open suspend override fun reboot(destNum: Int, packetId: Int)
Link copied to clipboard
open suspend override fun rebootToDfu(nodeNum: Int)
Link copied to clipboard
open suspend override fun removeByNodenum(packetId: Int, nodeNum: Int)
Link copied to clipboard
open suspend override fun requestNeighborInfo(requestId: Int, destNum: Int)
Link copied to clipboard
open suspend override fun requestPosition(destNum: Int, currentPosition: Position)
Link copied to clipboard
open suspend override fun requestRebootOta(requestId: Int, destNum: Int, mode: Int, hash: ByteArray?)
Link copied to clipboard
open suspend override fun requestTelemetry(requestId: Int, destNum: Int, typeValue: Int)
Link copied to clipboard
open suspend override fun requestTraceroute(requestId: Int, destNum: Int)
Link copied to clipboard
open suspend override fun requestUserInfo(destNum: Int)
Link copied to clipboard
open suspend override fun sendMessage(packet: DataPacket)
Link copied to clipboard
open suspend override fun sendSharedContact(nodeNum: Int): Boolean
Link copied to clipboard
open suspend override fun setCannedMessages(destNum: Int, messages: String)
Link copied to clipboard
open suspend override fun setConfig(destNum: Int, config: Config, packetId: Int)
Link copied to clipboard
open override fun setDeviceAddress(address: String)
Link copied to clipboard
open suspend override fun setFixedPosition(destNum: Int, position: Position)
Link copied to clipboard
open suspend override fun setLocalChannel(channel: Channel)
Link copied to clipboard
open suspend override fun setLocalConfig(config: Config)
Link copied to clipboard
open suspend override fun setModuleConfig(destNum: Int, config: ModuleConfig, packetId: Int)
Link copied to clipboard
open suspend override fun setOwner(destNum: Int, user: User, packetId: Int)
Link copied to clipboard
open suspend override fun setRemoteChannel(destNum: Int, channel: Channel, packetId: Int)
Link copied to clipboard
open suspend override fun setRingtone(destNum: Int, ringtone: String)
Link copied to clipboard
open suspend override fun shutdown(destNum: Int, packetId: Int)
Link copied to clipboard
open override fun startProvideLocation()
Link copied to clipboard
open override fun stopProvideLocation()