How polarpatch/bluewatch-cyd-radar works
BlueWatch CYD Radar is ESP32 display firmware for viewing nearby devices from a BlueWatch server, with local BLE scanning as a fallback. The user workflow is touch-driven: browse a filtered device list, open a device’s details, or switch to a live signal radar. The firmware fetches list, detail, and radar data over Wi-Fi, or adapts local scan results for the same views. Board-specific headers supply display and touch hardware support. The excerpts show the central implementation, but not all of its refresh and rendering code; uncertain internal links are omitted.
Main entry points: main.cpp Firmware controller · ble_scan.cpp BLE scanner · config.example.h Runtime configuration · board_2432s028.h 2432S028 support
Components 15
Device Views
- Device list
src/main.cpp - Device details
src/main.cpp - Live radar
src/main.cpp
Data Sources
- BlueWatch server
- Local scan adapter
src/main.cpp - BLE scanner
src/ble_scan.cpp - Lite classifier
src/ble_scan.cpp - Scan table
src/ble_scan.cpp
Firmware Core
- Firmware controller
src/main.cpp - View filters
src/main.cpp - Saved preferences
src/main.cpp - Runtime configuration
src/config.example.h
Board Hardware
- 2432S028 support
include/board_2432s028.h - 3248S035C support
include/board_3248s035c.h
Other components
- Board user
Connections 16
- Board user → Firmware controller: touches
README.md - Firmware controller → BlueWatch server: fetches list
src/main.cpp - Firmware controller → BlueWatch server: fetches details
src/main.cpp - Firmware controller → BlueWatch server: fetches radar
src/main.cpp - Firmware controller → Local scan adapter: builds local data
src/main.cpp - Local scan adapter → BLE scanner: reads snapshots
src/main.cpp - BLE scanner → Lite classifier: classifies advertisements
src/ble_scan.cpp - BLE scanner → Scan table: updates
src/ble_scan.cpp - Firmware controller → Device list: renders
README.md - Firmware controller → Device details: renders
README.md - Firmware controller → Live radar: renders
README.md - Firmware controller → View filters: applies
src/main.cpp - View filters → Saved preferences: persists
src/main.cpp - Firmware controller → 2432S028 support: uses
src/main.cpp - Firmware controller → 3248S035C support: uses
src/main.cpp - Firmware controller → Runtime configuration: reads settings