Can the channel index be obtained in the periodic advertising recv_cb callback?


Hello,
I would like to implement a simple RSSI-based distance measurement function using the Periodic Advertising Samples(periodic_adv & periodic_sync). In the scan callback function `recv_cb` of periodic advertising, I found the RSSI field. I'd like to know if there is an API available to retrieve the channel index corresponding to this RSSI value. By leveraging the short interval feature of periodic advertising, I aim to combine channel information and RSSI values within a brief period to design a short-range distance measurement algorithm (if feasible).
(Note: I'm aware of the `nrf_dm` example, but its implementation is too well-encapsulated to examine the details.)

QianJunWang

Parents Reply Children
No Data
Related