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

◆ bt_vol_ctlr_discover()

int bt_vol_ctlr_discover ( struct bt_conn *  conn)

Discover Volume Control Service and included services.

Parameters
[in]connPointer to the connection on which to discover the services.
Note
This function starts a GATT discovery and sets up handles and subscriptions for the VCS and included services. Call it once before any other actions related to the VCS.
Returns
0 for success, error otherwise.