![]() |
nRF Connect SDK API 3.3.99
|
| int bt_nus_init | ( | struct bt_nus_cb * | callbacks | ) |
#include <include/bluetooth/services/nus.h>
Initialize the NUS Service.
Initializes the module with the given callbacks, used when:
| [in] | callbacks | Struct containing pointers to callback functions. Can be NULL if no callbacks are defined. |
| 0 | If initialization is successful. Otherwise, a negative value is returned. |