nRF Connect SDK API 2.8.99
|
int bt_bms_init | ( | const struct bt_bms_init_params * | init_params | ) |
#include <include/bluetooth/services/bms.h>
Initialize the BMS Service.
Initialize the BMS Service by specifying a list of supported operations. If any operation is configured as authorized, you need to provide authorize() callback.
init_params | Initialization parameters. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |