nRF Connect SDK API 0.1.0
|
int bt_nus_subscribe_receive | ( | struct bt_nus_client * | nus | ) |
#include <include/bluetooth/services/nus_client.h>
Request the peer to start sending notifications for the TX Characteristic.
This function enables notifications for the NUS TX Characteristic at the peer by writing to the CCC descriptor of the NUS TX Characteristic.
[in,out] | nus | NUS Client instance. |
0 | If the operation was successful. Otherwise, a negative error code is returned. |