LoRa

interface LoRa : Peripheral

LogControl peripheral interface.

This peripheral allows LoRa configuration..

This peripheral can be obtained from a drone using: drone.getPeripheral(LoRa::class.java)

See also

Drone.getPeripheral

Types

Link copied to clipboard
data class Band(val minimumFrequency: UInt, val maximumFrequency: UInt)

A LoRa band.

Properties

Link copied to clipboard

The list of allowed frequencies in KHz.

Link copied to clipboard
abstract val bands: List<LoRa.Band>

The list of available bands to choose from.

Link copied to clipboard
abstract val frequency: UInt

The current LoRa frequency in KHz.

Functions

Link copied to clipboard
abstract fun choose(frequency: UInt): Boolean

Sets the LoRa frequency.