Runtime behavior is controlled by constants in each variant's src/ headers. After changing a value, recompile and re-upload.
Edit src/RadioScanner.h in your variant:
static const uint8_t MAX_WIFI_CHANNEL = 13;
static const uint16_t CHANNEL_SWITCH_MS = 500;MAX_WIFI_CHANNEL-- highest channel to scan (1-13, or 1-11 for US-only)CHANNEL_SWITCH_MS-- dwell time per channel in milliseconds (500 in most variants, 1000 in M5Stick)
Edit src/RadioScanner.h in your variant:
static const uint8_t BLE_SCAN_SECONDS = 1;
static const uint32_t BLE_SCAN_INTERVAL_MS = 5000;BLE_SCAN_SECONDS-- active scan duration per cycleBLE_SCAN_INTERVAL_MS-- time between scan cycles
Not applicable to the Flipper Zero variant (ESP32-S2 has no BLE).
Detection logic is implemented in common/Detectors.h. To add or modify what the system detects:
Edit common/DeviceSignatures.h:
const char* const MACPrefixes[] = {
"58:8e:81", "cc:cc:cc",
"your:ne:wp", // add here
};Modify the detector functions in common/Detectors.h:
- Exact format patterns (
detectSsidFormat) -- add new prefix+suffix rules - Keyword substrings (
detectSsidKeyword) -- add entries to thekeywords[]array - BLE device names (
detectBleName) -- add entries to thenames[]array
See Architecture: Pluggable Detector System for how detectors work.
Variants with I2S audio or M5Stack speaker can adjust volume in src/SoundEngine.h:
static constexpr float DEFAULT_VOLUME = 0.4f; // 0.0 to 1.0The Mini12864 variant also supports runtime volume adjustment via the rotary encoder.
Edit src/Mini12864Display.cpp:
// Startup backlight color timing
static const uint32_t STARTUP_RED_MS = 1000;
static const uint32_t STARTUP_GREEN_MS = 1000;
static const uint32_t STARTUP_BLUE_MS = 1000;
static const uint32_t STARTUP_NEO_MS = 1000;
// Radar visualization
static const uint16_t RADAR_DOT_TTL_MS = 8000;
static const uint8_t RADAR_DOT_STEP = 3;
static const uint8_t RADAR_DOT_MAX = 40;