26 lines
1.9 KiB
C
26 lines
1.9 KiB
C
#pragma once
|
||
|
||
// ─── WiFi ────────────────────────────────────────────────────────────────────
|
||
#define WIFI_SSID "sandbox"
|
||
#define WIFI_PASSWORD "Jaunsgads11!!"
|
||
|
||
// ─── Coordinator ─────────────────────────────────────────────────────────────
|
||
// This PC (192.168.1.101) runs coordinator.py during the test phase.
|
||
// Will change to Orange Pi (192.168.1.133) when we migrate.
|
||
#define COORDINATOR_IP "192.168.1.133"
|
||
#define COORDINATOR_PORT 5005
|
||
|
||
// ─── Scan ────────────────────────────────────────────────────────────────────
|
||
#define SCAN_INTERVAL_MS 15000 // how often to scan (ms)
|
||
#define HEARTBEAT_INTERVAL_MS 10000 // how often to send a heartbeat (ms)
|
||
|
||
// ─── Probe sniffing ──────────────────────────────────────────────────────────
|
||
#define PROBE_SNIFF 1 // 1 = enabled, 0 = disabled
|
||
#define PROBE_DEDUP_SECS 30 // suppress same MAC+SSID within this window (seconds)
|
||
#define DEDUP_CACHE_SIZE 64 // unique MAC+SSID pairs tracked for dedup
|
||
#define PROBE_QUEUE_SIZE 128 // max probe events buffered between flushes
|
||
#define DEAUTH_QUEUE_SIZE 128 // max deauth/disassoc events buffered between flushes
|
||
|
||
// ─── Channel hopping ─────────────────────────────────────────────────────────
|
||
#define HOP_DWELL_MS 300 // ms to dwell on each channel (13 ch × 300ms ≈ 4s/sweep)
|