#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] | conn | Connection Object, which already has associated RREQ context. |
| [in] | cb | Ranging data ready callback. |
- Return values
-
| 0 | If the operation was successful. Otherwise, a negative error code is returned. |