Channel

data class Channel(val settings: ChannelSettings = default.settings, val loraConfig: Config.LoRaConfig = default.loraConfig)(source)

Constructors

Link copied to clipboard
constructor(settings: ChannelSettings = default.settings, loraConfig: Config.LoRaConfig = default.loraConfig)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val hash: Int

The (0 to 255) on-air hash, byte-identical to firmware Channels::generateHash: xor of name and PSK, then 0xAE folded in when use_aead is set. Identity (equals) stays name + PSK; the AEAD bit only moves the hash.

Link copied to clipboard
val loraConfig: Config.LoRaConfig
Link copied to clipboard
Link copied to clipboard
val psk: ByteString
Link copied to clipboard
Link copied to clipboard
val settings: ChannelSettings

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int