![]() |
nRF Connect SDK API 3.3.99
|
| typedef void(* bt_bas_notify_cb) (struct bt_bas_client *bas, uint8_t battery_level) |
#include <include/bluetooth/services/bas_client.h>
Value notification callback.
This function is called every time the server sends a notification for a changed value.
| bas | BAS Client object. |
| battery_level | The notified battery level value, or BT_BAS_VAL_INVALID if the notification was interrupted by the server (NULL received from the stack). |