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

◆ bt_throughput_write()

int bt_throughput_write ( struct bt_throughput throughput,
const uint8_t *  data,
uint16_t  len 
)

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

Write data to the server.

Parameters
[in]throughputThroughput Service instance.
[in]dataData.
[in]lenData length.
Return values
0If the operation was successful. Otherwise, a negative error code is returned.