diff --git a/src/main.cpp b/src/main.cpp index 477101c..d8e0072 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -897,41 +897,80 @@ static const char FY_HTML[] PROGMEM = R"rawliteral( DANTIR -

DANTIR

Surveillance Counter-Watcher • BLE + WiFi + GPS
+
+

DANTIR

+ +
-
0
DETECTED
+
0
DETECTED
0
RAVEN
ON
BLE+WiFi
TAP
GPS
@@ -944,13 +983,19 @@ h4{color:#ec4899;font-size:14px;margin-bottom:8px}
+
+
PROXIMITY RADAR
0 devices
+
+
Flock Ring Raven Other
+
+
Scanning for surveillance devices...
BLE + WiFi promiscuous active
Loading prior session...
Loading patterns...

EXPORT DETECTIONS

-

Download current session to import into Flask dashboard

+

Download current session data

@@ -963,16 +1008,171 @@ h4{color:#ec4899;font-size:14px;margin-bottom:8px}
)rawliteral"; @@ -1035,18 +1235,20 @@ static void fySetupServer() { const char* gpsSrc = "none"; if (fyGPSIsHardware && fyHWGPSFix) gpsSrc = "hw"; else if (fyGPSIsFresh()) gpsSrc = "phone"; - char buf[384]; + char buf[448]; snprintf(buf, sizeof(buf), "{\"total\":%d,\"raven\":%d,\"ble\":\"active\",\"wifi\":\"active\"," "\"wifi_det\":%d," "\"gps_valid\":%s,\"gps_age\":%lu,\"gps_tagged\":%d," - "\"gps_src\":\"%s\",\"gps_sats\":%d,\"gps_hw_detected\":%s}", + "\"gps_src\":\"%s\",\"gps_sats\":%d,\"gps_hw_detected\":%s," + "\"device_lat\":%.8f,\"device_lon\":%.8f}", fyDetCount, raven, fyWifiDetCount, fyGPSIsFresh() ? "true" : "false", fyGPSValid ? (millis() - fyGPSLastUpdate) : 0UL, withGPS, gpsSrc, fyHWGPSSats, - fyHWGPSDetected ? "true" : "false"); + fyHWGPSDetected ? "true" : "false", + fyGPSLat, fyGPSLon); r->send(200, "application/json", buf); });