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

◆ bt_latency_client_init()

int bt_latency_client_init ( struct bt_latency_client latency,
const struct bt_latency_client_cb cb 
)

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

Initialize the GATT latency client.

Parameters
[in]latencyLatency client instance.
[in]cbCallbacks.
Return values
0If the operation was successful. Otherwise, a negative error code is returned.
(-EINVAL)Special error code used when the input parameters are invalid.
(-EALREADY)Special error code used when the latency client has been initialed.