nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ bt_ras_rreq_rd_ready_subscribe()

int bt_ras_rreq_rd_ready_subscribe ( struct bt_conn * conn,
bt_ras_rreq_rd_ready_cb_t cb )

#include <include/bluetooth/services/ras.h>

Subscribe to ranging data ready notifications. These notify when on-demand ranging data is available for a given CS procedure counter.

Note
Calling from BT RX thread may return an error as bt_gatt_subscribe will not block if there are no available TX buffers.
Parameters
[in]connConnection Object, which already has associated RREQ context.
[in]cbRanging data ready callback.
Return values
0If the operation was successful. Otherwise, a negative error code is returned.