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

◆ bt_bas_read_cb

typedef void(* bt_bas_read_cb) (struct bt_bas_client *bas, uint8_t battery_level, int err)

#include <include/bluetooth/services/bas_client.h>

Read complete callback.

This function is called when the read operation finishes.

Parameters
basBAS Client object.
battery_levelThe battery level value that was read.
errATT error code or 0.