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

Initializes the module with the list of supported operations. If any operation is configured as authorized, the authorize() callback must be provided.

Note
The GATT service is defined and registered statically at compile time.
Parameters
init_paramsInitialization parameters. Must not be NULL.
Return values
0If the operation was successful. Otherwise, a negative error code is returned.