modules/woz_aliro/include/aliro_lab.h
asxeem/openaliro
Module

aliro_lab.h

Aliro Lab trace: structured "[ALAB]" lines at transaction phase boundaries…

modules/woz_aliro/include/aliro_lab.h

Overview

Aliro Lab trace: structured "[ALAB]" lines at transaction phase boundaries, parsed by tools/aliro_lab.py into a scored walk-up report. Ships in every Aliro build (CONFIG_WOZ_ALIRO_LAB defaults y, like the sibling uwbdiag trace) but is OFF at boot and toggled at runtime by the lab on/lab off console command, so any firmware profiles on demand with no reflash. Set CONFIG_WOZ_ALIRO_LAB=n to strip it from a hardened production image.

used by aliro_lat.c aliro_ranging.c aliro_reader.c

Undocumented (6)

aliro_lab_set_enabled, aliro_lab_enabled, aliro_lab_ev, aliro_lab_evi, aliro_lab_evi2, aliro_lab_dump

API

Fvoid aliro_lab_set_enabled(bool on)

modules/woz_aliro/include/aliro_lab.h:36

Fbool aliro_lab_enabled(void)

modules/woz_aliro/include/aliro_lab.h:37

Fvoid aliro_lab_ev(const char *ev)

modules/woz_aliro/include/aliro_lab.h:40

Fvoid aliro_lab_evi(const char *ev, const char *key, long val)

modules/woz_aliro/include/aliro_lab.h:44

Fvoid aliro_lab_evi2(const char *ev, const char *k1, long v1, const char *k2, long v2)

modules/woz_aliro/include/aliro_lab.h:50

Fvoid aliro_lab_dump(void)

modules/woz_aliro/include/aliro_lab.h:55