nRF Connect SDK API 0.1.0
|
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. |