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

◆ bt_ras_rreq_cp_subscribe()

int bt_ras_rreq_cp_subscribe ( struct bt_conn * conn)

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

Subscribe to RAS-CP. Required to be called before bt_ras_rreq_cp_get_ranging_data.

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.
Return values
0If the operation was successful. Otherwise, a negative error code is returned.