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