Commit Graph

4 Commits

Author SHA1 Message Date
Colonel Panic f537c7d194 audio: chirp again on rediscovery after 30 s of silence
Known MACs that haven't been heard from in >30 s now refire the
ascending new-discovery chirp when they reappear. Shorter gaps (like
Flock burst-sleep cycles) still just resume the heartbeat beep-pair
without a chirp.

fyAddDetection now returns an 'outChirpWorthy' bool: true for
brand-new MACs and for rediscoveries past the threshold. Replaces
the old count==1 check, which only ever fired once per MAC per
session.
2026-04-20 08:50:17 -04:00
Colonel Panic 16b93838fb audio: tighten heartbeat active window to 3 s
Only consider a target 'still around' if it was seen within the last
3 seconds (was 20 s). Heartbeat interval stays 10 s. Net effect: the
monotone beep-pair only fires while the device is actively in RF
range, stops almost immediately on departure.
2026-04-20 08:46:38 -04:00
Colonel Panic 60bed01781 audio: two-chirp on new MAC, monotone heartbeat while target stays in range
Replaces the single beep-per-detection with two distinct patterns:

- New MAC (first sighting): two fast ascending beeps, 2000 -> 2800 Hz,
  55 ms each with 25 ms gap
- Same MAC still active (last seen within 20 s): two monotone 1500 Hz
  heartbeat beeps, 70 ms each, every 10 s
- Silent once nothing has been seen for 20 s, until the next new MAC

Global "last seen" timer refreshes on every inbound hit, including ones
suppressed by the serial rate limit, so quieter repeats still count as
"still around" for the heartbeat. LED still flashes on every emitted
detection.
2026-04-20 08:45:49 -04:00
Colonel Panic ec7c04a0df flatten: promiscuous WiFi firmware is the branch content, not a subfolder
- Moved promiscuis-flock-you/{main.cpp,partitions.csv,platformio.ini} to root
- Removed BLE firmware (src/main.cpp, src/CMakeLists.txt) — the 'main' branch
  still has it
- Removed the subfolder README (root README has the full walkthrough)
- Updated README paths and build commands for the flat layout
- Retagged the BLE companion section as a pointer to the 'main' branch

The 'promiscious' branch is now purely the WiFi promiscuous firmware plus
the shared Flask app (api/), datasets, and branding. Builds green with
the standard 'pio run' from the repo root.
2026-04-20 07:47:14 -04:00