You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dynamic Status: "Posting to API" → "Error: Posting to API (Revoked)" → "—" → "WarDriving slot has been revoked"
341
+
Dynamic Status: "Idle"/"Waiting for next ping" → "Error: Posting to API (Revoked)" → "—" → "WarDriving slot has been revoked"
341
342
```
343
+
**Timeline:**
344
+
- T+0s: RX window completes, status shows "Idle" or "Waiting for next ping", next timer starts
345
+
- T+0-3s: Background API post running (3s delay, then POST) - silent
346
+
- T+3-4s: Revocation detected, "Error: Posting to API (Revoked)" shown (1.5s)
347
+
- T+4.5s: Disconnect initiated
348
+
- T+5s: Terminal status "WarDriving slot has been revoked"
342
349
343
350
**Key Differences from Normal Disconnect:**
344
351
- Normal disconnect: Dynamic Status shows `"—"` (em dash)
345
352
- Revocation: Dynamic Status shows `"WarDriving slot has been revoked"` (red error, no prefix)
346
353
- Revocation shows intermediate "Error: Posting to API (Revoked)" state
354
+
- With the new ping/repeat flow, revocation may be detected after user already sees "Idle" or "Waiting for next ping" (because API runs in background)
347
355
348
356
## Workflow Diagrams
349
357
@@ -590,6 +598,120 @@ stateDiagram-v2
590
598
- Error → Disconnected
591
599
- Recovery always possible
592
600
601
+
## Ping/Repeat Listener Flow
602
+
603
+
### Overview
604
+
605
+
The ping/repeat listener flow manages the complete lifecycle of a wardrive ping operation, from sending the ping to listening for repeater echoes to posting data to the MeshMapper API.
606
+
607
+
**Key Design Change (v1.4.2+):** API posting now runs in the background (asynchronously) to prevent blocking the main ping cycle. This allows the next ping timer to start immediately after the RX listening window completes, without waiting for the API POST to finish.
0 commit comments