InstallProfileUseCase

open class InstallProfileUseCase(radioController: RadioController, radioConfigRepository: RadioConfigRepository)(source)

Use case for installing a device profile onto a radio.

Constructors

Link copied to clipboard
constructor(radioController: RadioController, radioConfigRepository: RadioConfigRepository)

Functions

Link copied to clipboard
open suspend operator fun invoke(destNum: Int, profile: DeviceProfile, currentUser: User?, currentLoraConfig: Config.LoRaConfig?, isLocal: Boolean)

Installs the provided DeviceProfile onto the radio at destNum.