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

◆ bt_ras_rrsp_alloc()

int bt_ras_rrsp_alloc ( struct bt_conn * conn)

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

Allocate Ranging Responder instance for connection.

This will allocate an instance of the Ranging Responder service for the given connection.

Note
This method must not be called if CONFIG_BT_RAS_RRSP_AUTO_ALLOC_INSTANCE is enabled.
The number of supported instances can be set using CONFIG_BT_RAS_RRSP_MAX_ACTIVE_CONN.
Parameters
connConnection instance.
Returns
Zero in case of success and error code in case of error.