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