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

◆ bt_nus_subscribe_receive()

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.

Parameters
[in,out]nusNUS Client instance.
Return values
0If the operation was successful. Otherwise, a negative error code is returned.