![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_bas_init | ( | struct ble_bas * | bas, |
| const struct ble_bas_config * | bas_config ) |
#include <ble_bas.h>
Initialize the battery service.
| bas | Battery service. |
| bas_config | Battery service configuration. |
| NRF_SUCCESS | On success. |
| NRF_ERROR_NULL | If bas or bas_config are NULL. |