DirectRadioControllerImpl

class DirectRadioControllerImpl(serviceRepository: ERROR CLASS: Symbol not found for ServiceRepository, nodeRepository: ERROR CLASS: Symbol not found for NodeRepository, commandSender: ERROR CLASS: Symbol not found for CommandSender, router: ERROR CLASS: Symbol not found for MeshRouter, nodeManager: ERROR CLASS: Symbol not found for NodeManager, radioInterfaceService: ERROR CLASS: Symbol not found for RadioInterfaceService, locationManager: ERROR CLASS: Symbol not found for MeshLocationManager) : <ERROR CLASS> ERROR CLASS: Symbol not found for RadioController(source)

Platform-agnostic RadioController implementation that delegates directly to service-layer handlers.

Unlike AndroidRadioControllerImpl, which routes every call through the AIDL IMeshService binder, this implementation talks directly to CommandSender, MeshRouter.actionHandler, ServiceRepository, and NodeManager. This is the correct implementation for any target where the service runs in-process (Desktop, iOS, or Android in single-process mode).

This eliminates the need for NoopRadioController on non-Android targets.

Constructors

Link copied to clipboard
constructor(serviceRepository: ERROR CLASS: Symbol not found for ServiceRepository, nodeRepository: ERROR CLASS: Symbol not found for NodeRepository, commandSender: ERROR CLASS: Symbol not found for CommandSender, router: ERROR CLASS: Symbol not found for MeshRouter, nodeManager: ERROR CLASS: Symbol not found for NodeManager, radioInterfaceService: ERROR CLASS: Symbol not found for RadioInterfaceService, locationManager: ERROR CLASS: Symbol not found for MeshLocationManager)

Properties

Link copied to clipboard
open override val clientNotification: ERROR CLASS: Symbol not found for StateFlow<ERROR CLASS: Symbol not found for ClientNotification?>
Link copied to clipboard
open override val connectionState: ERROR CLASS: Symbol not found for StateFlow<ERROR CLASS: Symbol not found for ConnectionState>

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: ERROR CLASS: Symbol not found for 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: ERROR CLASS: Symbol not found for DataPacket)
Link copied to clipboard
open suspend override fun sendSharedContact(nodeNum: Int)
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: ERROR CLASS: Symbol not found for 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: ERROR CLASS: Symbol not found for Position)
Link copied to clipboard
open suspend override fun setLocalChannel(channel: ERROR CLASS: Symbol not found for Channel)
Link copied to clipboard
open suspend override fun setLocalConfig(config: ERROR CLASS: Symbol not found for Config)
Link copied to clipboard
open suspend override fun setModuleConfig(destNum: Int, config: ERROR CLASS: Symbol not found for ModuleConfig, packetId: Int)
Link copied to clipboard
open suspend override fun setOwner(destNum: Int, user: ERROR CLASS: Symbol not found for User, packetId: Int)
Link copied to clipboard
open suspend override fun setRemoteChannel(destNum: Int, channel: ERROR CLASS: Symbol not found for 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()