![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_nus_client_init | ( | struct ble_nus_client * | nus_client, |
| const struct ble_nus_client_config * | nus_client_config ) |
#include <ble_nus_client.h>
Initialize the Nordic UART client service.
This function registers the NUS Client with the Database Discovery library.
| [in] | nus_client | NUS client structure. |
| [in] | nus_client_config | NUS configuration structure. |
| NRF_SUCCESS | On success. |
| NRF_ERROR_NULL | If nus_client, nus_client_config or nus_client_config.gatt_queue is NULL. |