beaconJoinOption

fun MeshBeacon.beaconJoinOption(currentLora: Config.LoRaConfig?, currentChannels: List<ChannelSettings>): BeaconJoinOption(source)

Decides whether a beacon can be joined by simply adding its channel (no reboot) or requires a switch (retune + reboot). Adding works only when the offered mesh sits on the radio's current frequency slot — Meshtastic secondary channels ride the primary channel's frequency, so the offered channel must resolve (name-hash) to the same slot the radio's primary is on, under a matching preset and region. Mirrors the Apple 014-mesh-beacons FR-016/FR-017 logic.

Parameters

currentLora

The radio's current LoRaConfig (null → can't reason, so SWITCH).

currentChannels

The radio's current channel settings, index 0 = primary.