openaliro
Aliro reader: UWB/CCC core and ESP32-S3/C5/C6 port
Loading...
Searching...
No Matches
aliro_lat.h File Reference

Latency tracking for Aliro protocol phases during a walk-up: record BLE_CONNECT as epoch zero, mark timestamps for each phase, emit a report with elapsed intervals and flight-recorder diagnostics. More...

Go to the source code of this file.

Functions

static void aliro_lat_begin (void)
 Initialize latency tracking; record the BLE_CONNECT epoch as the zero reference for all subsequent phase timestamps.
 
static int aliro_lat_mark (enum aliro_lat_phase phase)
 Record the current uptime for a given Aliro protocol phase if not yet marked; return 1 if newly recorded, 0 if already marked or out of range.
 
static void aliro_lat_report (void)
 Emit a latency report showing all recorded phase timestamps and elapsed intervals; dump flight-recorder lab traces if CONFIG_WOZ_ALIRO_LAB is enabled and tracing is active.
 

Detailed Description

Latency tracking for Aliro protocol phases during a walk-up: record BLE_CONNECT as epoch zero, mark timestamps for each phase, emit a report with elapsed intervals and flight-recorder diagnostics.