Check24GhzCapability
class Check24GhzCapability(nodeRepository: NodeRepository, deviceHardwareRepository: DeviceHardwareRepository)(source)
Determines whether the currently connected radio supports 2.4 GHz LoRa operation (SX1280 chip).
Uses a layered heuristic:
Check for explicit
2.4ghzorsx1280tags in the hardware metadata.Check the platformIO target or slug for
sx1280,2.4, or2400patterns.Default to HardwareCapabilityResult.Unknown when no evidence is available.
Functions
Link copied to clipboard
Checks if the currently connected radio supports 2.4 GHz. Returns HardwareCapabilityResult.Unknown if not connected or hardware data is unavailable.