![]() |
nRF Connect SDK API 3.3.99
|
| int bt_bms_init | ( | const struct bt_bms_init_params * | init_params | ) |
#include <include/bluetooth/services/bms.h>
Initialize the BMS Service.
Initializes the module with the list of supported operations. If any operation is configured as authorized, the authorize() callback must be provided.
| init_params | Initialization parameters. Must not be NULL. |
| 0 | If the operation was successful. Otherwise, a negative error code is returned. |