Wallbot_CaaS
Dependencies: MPU6050 mbed PID
Fork of BLE_MPU6050_test6_challenge_sb by
ble_bas.h File Reference
Go to the source code of this file.
Data Structures | |
struct | ble_bas_evt_t |
Battery Service event. More... | |
struct | ble_bas_init_t |
Battery Service init structure. More... | |
struct | ble_bas_s |
Battery Service structure. More... | |
Typedefs | |
typedef struct ble_bas_s | ble_bas_t |
Battery Service structure. | |
typedef void(* | ble_bas_evt_handler_t )(ble_bas_t *p_bas, ble_bas_evt_t *p_evt) |
Battery Service event handler type. | |
Enumerations | |
enum | ble_bas_evt_type_t { BLE_BAS_EVT_NOTIFICATION_ENABLED, BLE_BAS_EVT_NOTIFICATION_DISABLED } |
Battery Service event type. More... | |
Functions | |
uint32_t | ble_bas_init (ble_bas_t *p_bas, const ble_bas_init_t *p_bas_init) |
Function for initializing the Battery Service. | |
void | ble_bas_on_ble_evt (ble_bas_t *p_bas, ble_evt_t *p_ble_evt) |
Function for handling the Application's BLE Stack events. | |
uint32_t | ble_bas_battery_level_update (ble_bas_t *p_bas, uint8_t battery_level) |
Function for updating the battery level. |
Detailed Description
Definition in file ble_bas.h.
Generated on Tue Jul 12 2022 18:33:09 by 1.7.2