openaliro
Aliro reader: UWB/CCC core and ESP32-S3/C5/C6 port
Loading...
Searching...
No Matches
uwb_rxdiag.h
Go to the documentation of this file.
1
3#ifndef WOZ_UWB_RXDIAG_H_
4#define WOZ_UWB_RXDIAG_H_
5
6#include <stdbool.h>
7#include <stdint.h>
8
10void uwb_rxdiag_get_counts(uint32_t *rxok, uint32_t *rxerr, uint32_t *rxto, uint32_t *txdone,
11 uint32_t *last_err, uint32_t *last_ok);
12
14void uwb_rxdiag_stream_set(bool on);
15
17bool uwb_rxdiag_stream_get(void);
18
20void uwb_rxdiag_rng_set(bool on);
21
23bool uwb_rxdiag_rng_get(void);
24
25#endif /* WOZ_UWB_RXDIAG_H_ */
void uwb_rxdiag_rng_set(bool on)
Arm or cancel the per-block distance stream (backs aliro frames on|off).
Definition uwb_rxdiag.c:325
bool uwb_rxdiag_rng_get(void)
Whether the per-block distance stream is currently armed.
Definition uwb_rxdiag.c:330
bool uwb_rxdiag_stream_get(void)
Whether the periodic ranging heartbeat is currently armed.
Definition uwb_rxdiag.c:320
void uwb_rxdiag_stream_set(bool on)
Arm or cancel the periodic ranging heartbeat (backs aliro log on|off).
Definition uwb_rxdiag.c:310
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).
Definition uwb_rxdiag.c:287