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

◆ bt_latency_request()

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.

Parameters
[in]latencyLatency client instance.
[in]dataData.
[in]lenData length.
Return values
0If 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.