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

◆ received

uint8_t(* bt_nus_client_cb::received) (struct bt_nus_client *nus, const uint8_t *data, uint16_t len)

Data received callback.

The data has been received as a notification of the NUS TX Characteristic.

Parameters
[in]nusNUS Client instance.
[in]dataReceived data.
[in]lenLength of received data.
Return values
BT_GATT_ITER_CONTINUETo keep notifications enabled.
BT_GATT_ITER_STOPTo disable notifications.