Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: idd_hw5_bleFanProto
Fork of nRF51822 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 17:01:29 by
 1.7.2
 1.7.2 
    