Wallbot_CaaS
Dependencies: MPU6050 mbed PID
Fork of BLE_MPU6050_test6_challenge_sb by
ble_bas_c.h File Reference
Go to the source code of this file.
Data Structures | |
struct | ble_bas_c_evt_t |
Battery Service Client Event structure. More... | |
struct | ble_bas_c_s |
Battery Service Client structure. More... | |
struct | ble_bas_c_init_t |
Battery Service Client initialization structure. More... | |
Typedefs | |
typedef struct ble_bas_c_s | ble_bas_c_t |
Battery Service Client structure. | |
typedef void(* | ble_bas_c_evt_handler_t )(ble_bas_c_t *p_bas_bas_c, ble_bas_c_evt_t *p_evt) |
Event handler type. | |
Enumerations | |
enum | ble_bas_c_evt_type_t { BLE_BAS_C_EVT_DISCOVERY_COMPLETE, BLE_BAS_C_EVT_BATT_NOTIFICATION, BLE_BAS_C_EVT_BATT_READ_RESP } |
Battery Service Client event type. More... | |
Functions | |
uint32_t | ble_bas_c_init (ble_bas_c_t *p_ble_bas_c, ble_bas_c_init_t *p_ble_bas_c_init) |
Function for initializing the Battery Service Client module. | |
void | ble_bas_c_on_ble_evt (ble_bas_c_t *p_ble_bas_c, const ble_evt_t *p_ble_evt) |
Function for handling BLE events from the SoftDevice. | |
uint32_t | ble_bas_c_bl_notif_enable (ble_bas_c_t *p_ble_bas_c) |
Function for enabling notifications on the Battery Level characteristic. | |
uint32_t | ble_bas_c_bl_read (ble_bas_c_t *p_ble_bas_c) |
Function for reading the Battery Level characteristic. |
Detailed Description
Definition in file ble_bas_c.h.
Generated on Tue Jul 12 2022 18:33:09 by 1.7.2