extend BLE outage cushion from hardware evidence

This commit is contained in:
Jay
2026-08-18 11:51:46 -04:00
parent 8f75045796
commit 483ace3578
4 changed files with 18 additions and 7 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ consumer can distinguish a fresh sample from a repeated poll and identify gyro
overruns. Hardware data-ready interrupts and FIFO acquisition are deferred to the
later sensor-side acquisition refinement.
Completed samples enter a 512-record RAM queue, providing 5.12 seconds of
Completed samples enter a 1024-record RAM queue, providing 10.24 seconds of
transport-outage tolerance at 100 Hz when the transport reports backpressure or
failure accurately. A failed write retains and retries its packet while this
queue accumulates the backlog. A lower-priority output task batches up to eight
@@ -86,7 +86,7 @@ The preserved USB telemetry option uses ESP-IDF's interrupt-driven USB
Serial/JTAG driver behind
a transport-neutral state machine. A complete frame is submitted atomically to
the driver ring and remains pending across bounded drain timeouts; firmware does
not resubmit it ambiguously or dequeue another frame. The 512-sample queue
not resubmit it ambiguously or dequeue another frame. The 1024-sample queue
therefore also protects a connected endpoint that temporarily stops draining.
USB drain confirms that bytes left the device endpoint, not that the capture