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

— Read-side accessors for the RX event tallies + log stream. More...

#include <stdbool.h>
#include <stdint.h>
Include dependency graph for uwb_rxdiag.h:

Go to the source code of this file.

Functions

void uwb_rxdiag_get_counts (uint32_t *rxok, uint32_t *rxerr, uint32_t *rxto, uint32_t *txdone, uint32_t *last_err, uint32_t *last_ok)
 Snapshot the running RX/TX event tallies; out-params optional (NULL to skip).
 
void uwb_rxdiag_stream_set (bool on)
 Arm or cancel the periodic ranging heartbeat (backs aliro log on|off).
 
bool uwb_rxdiag_stream_get (void)
 Whether the periodic ranging heartbeat is currently armed.
 
void uwb_rxdiag_rng_set (bool on)
 Arm or cancel the per-block distance stream (backs aliro frames on|off).
 
bool uwb_rxdiag_rng_get (void)
 Whether the per-block distance stream is currently armed.
 

Detailed Description

— Read-side accessors for the RX event tallies + log stream.