#pragma once // Shared declarations for functions defined in main.cpp // Used by web_server.cpp and usb_serial.cpp #include #include // --- Sweep control --- void startSweep(bool up, uint32_t dwellMs); void stopSweep(); bool isSweeping(); int8_t getSweepDirection(); uint32_t getSweepDwellMs(); // --- OTA --- void enableOTA(); bool isOTAEnabled(); // --- WiFi TX power --- void setWiFiTxPower(wifi_power_t power); wifi_power_t getWiFiTxPower(); float wifiPowerToDbm(wifi_power_t power); bool isValidWifiPower(int raw); const int* getValidWifiPowers(); const float* getValidWifiDbms(); int getNumWifiPowerLevels();