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

◆ bt_nus_client_init()

int bt_nus_client_init ( struct bt_nus_client nus,
const struct bt_nus_client_init_param init_param 
)

#include <include/bluetooth/services/nus_client.h>

Initialize the NUS Client module.

This function initializes the NUS Client module with callbacks provided by the user.

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