nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
Bluetooth LE GATT NUS Client API

API for the Bluetooth LE GATT Nordic UART Service (NUS) Client. More...

Data Structures

struct  bt_nus_client_handles
 Handles on the connected peer device that are needed to interact with the device. More...
 
struct  bt_nus_client_cb
 NUS Client callback structure. More...
 
struct  bt_nus_client
 NUS Client structure. More...
 
struct  bt_nus_client_init_param
 NUS Client initialization structure. More...
 

Functions

int bt_nus_client_init (struct bt_nus_client *nus, const struct bt_nus_client_init_param *init_param)
 Initialize the NUS Client module.
 
int bt_nus_client_send (struct bt_nus_client *nus, const uint8_t *data, uint16_t len)
 Send data to the server.
 
int bt_nus_handles_assign (struct bt_gatt_dm *dm, struct bt_nus_client *nus)
 Assign handles to the NUS Client instance.
 
int bt_nus_subscribe_receive (struct bt_nus_client *nus)
 Request the peer to start sending notifications for the TX Characteristic.
 

Detailed Description

API for the Bluetooth LE GATT Nordic UART Service (NUS) Client.