nRF Connect SDK API 0.1.0
|
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.
[in,out] | nus | NUS Client instance. |
[in] | init_param | NUS Client initialization parameters. |
0 | If the operation was successful. Otherwise, a negative error code is returned. |