nRF Connect SDK API 0.1.0
|
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.
[in] | latency | Latency client instance. |
[in] | cb | Callbacks. |
0 | If 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. |