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

◆ bt_hrs_client_init()

int bt_hrs_client_init ( struct bt_hrs_client * hrs_c)

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

Function for initializing the Heart Rate Service Client.

Parameters
[in,out]hrs_cHeart Rate Service Client instance. This structure must be supplied by the application. It is initialized by this function and will later be used to identify this particular client instance.
Return values
0If the client was initialized successfully. Otherwise, a (negative) error code is returned.