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

Transport callbacks into the app / Phase-3 Aliro handler. More...

#include <aliro_ble.h>

Data Fields

void(* on_data )(uint16_t conn_handle, const uint8_t *data, uint16_t len)
 An L2CAP SDU arrived from the peer (2.2+).
 
void(* on_connected )(uint16_t conn_handle)
 L2CAP channel opened / closed for a peer (2.2+).
 
void(* on_rssi )(uint16_t conn_handle, int8_t rssi_dbm)
 Connection-RSSI sample (dBm), polled while the CoC is up.
 

Detailed Description

Transport callbacks into the app / Phase-3 Aliro handler.

All optional.

Field Documentation

◆ on_rssi

void(* aliro_ble_callbacks::on_rssi) (uint16_t conn_handle, int8_t rssi_dbm)

Connection-RSSI sample (dBm), polled while the CoC is up.

Setting this turns the transport's RSSI poll on (the reader's ranging power gate); leave NULL and the transport never reads RSSI.


The documentation for this struct was generated from the following file: