nRF Connect SDK API 0.1.0
|
int bt_latency_request | ( | struct bt_latency_client * | latency, |
const void * | data, | ||
uint16_t | len | ||
) |
#include <include/bluetooth/services/latency_client.h>
Write data to the server.
[in] | latency | Latency client instance. |
[in] | data | Data. |
[in] | len | Data length. |
0 | If the operation was successful. Otherwise, a negative error code is returned. |
(-EALREADY) | Special error code used when the asynchronous request is waiting for a response. |