nRF Connect SDK API 2.8.99
|
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.
bas | BAS Client object. |
battery_level | The battery level value that was read. |
err | ATT error code or 0. |