nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ bt_bms_init()

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.

Parameters
init_paramsInitialization parameters.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.