![]() |
nRF Connect SDK API 3.3.99
|
| int bt_nus_client_send | ( | struct bt_nus_client * | nus, |
| const uint8_t * | data, | ||
| uint16_t | len ) |
#include <include/bluetooth/services/nus_client.h>
Send data to the server.
This function writes to the RX Characteristic of the server.
| [in,out] | nus | NUS Client instance. |
| [in] | data | Data to be transmitted. |
| [in] | len | Length of data. |
| 0 | If the operation was successful. Otherwise, a negative error code is returned. |