ScanTarget
data class ScanTarget(val preset: ChannelOption, val label: String, val channel: ChannelSettings? = null, val region: Config.LoRaConfig.RegionCode? = null)(source)
One entry in the discovery scan queue. A channel of null is a public-preset target (the original scan behavior — dwell on preset using the radio's existing primary channel). A non-null channel is a beacon-advertised custom channel: during its dwell the engine tunes the radio's primary channel to that name+PSK (and region) so nodes on that mesh are heard, then restores the original primary channel afterwards (Apple 014-mesh-beacons FR-005).
Parameters
label
Result label persisted with the dwell (e.g. "LONG_FAST" or "LONG_FAST · PartyNet"), so a custom channel's results never collide with the same preset's public results.
Constructors
Link copied to clipboard
constructor(preset: ChannelOption, label: String, channel: ChannelSettings? = null, region: Config.LoRaConfig.RegionCode? = null)