RadioConfigUseCase

open class RadioConfigUseCase(radioController: ERROR CLASS: Symbol not found for RadioController)(source)

Use case for interacting with radio configuration components.

Constructors

Link copied to clipboard
constructor(radioController: ERROR CLASS: Symbol not found for RadioController)

Functions

Link copied to clipboard
suspend fun getCannedMessages(destNum: Int): Int

Requests the canned messages from the radio.

Link copied to clipboard
suspend fun getChannel(destNum: Int, index: Int): Int

Requests a channel from the radio.

Link copied to clipboard
suspend fun getConfig(destNum: Int, configType: Int): Int

Requests a configuration section from the radio.

Link copied to clipboard
suspend fun getDeviceConnectionStatus(destNum: Int): Int

Requests the device connection status from the radio.

Link copied to clipboard
suspend fun getModuleConfig(destNum: Int, moduleConfigType: Int): Int

Requests a module configuration section from the radio.

Link copied to clipboard
suspend fun getOwner(destNum: Int): Int

Requests the owner information from the radio.

Link copied to clipboard
suspend fun getRingtone(destNum: Int): Int

Requests the ringtone from the radio.

Link copied to clipboard
suspend fun removeFixedPosition(destNum: Int)

Removes the fixed position on the radio.

Link copied to clipboard
suspend fun setCannedMessages(destNum: Int, messages: String)

Sets the canned messages on the radio.

Link copied to clipboard
suspend fun setConfig(destNum: Int, config: ERROR CLASS: Symbol not found for Config): Int

Updates a configuration section on the radio.

Link copied to clipboard
suspend fun setFixedPosition(destNum: Int, position: ERROR CLASS: Symbol not found for Position)

Updates the fixed position on the radio.

Link copied to clipboard
suspend fun setModuleConfig(destNum: Int, config: ERROR CLASS: Symbol not found for ModuleConfig): Int

Updates a module configuration section on the radio.

Link copied to clipboard
suspend fun setOwner(destNum: Int, user: ERROR CLASS: Symbol not found for User): Int

Updates the owner information on the radio.

Link copied to clipboard
suspend fun setRemoteChannel(destNum: Int, channel: ERROR CLASS: Symbol not found for org.meshtastic.proto.Channel): Int

Updates a channel on the radio.

Link copied to clipboard
suspend fun setRingtone(destNum: Int, ringtone: String)

Sets the ringtone on the radio.