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.
Fork of BLE_WallbotBLE_Challenge by
ble_bas_s Struct Reference
[Battery Service]
Battery Service structure. More...
#include <ble_bas.h>
Data Fields | |
ble_bas_evt_handler_t | evt_handler |
Event handler to be called for handling events in the Battery Service. | |
uint16_t | service_handle |
Handle of Battery Service (as provided by the BLE stack). | |
ble_gatts_char_handles_t | battery_level_handles |
Handles related to the Battery Level characteristic. | |
uint16_t | report_ref_handle |
Handle of the Report Reference descriptor. | |
uint8_t | battery_level_last |
Last Battery Level measurement passed to the Battery Service. | |
uint16_t | conn_handle |
Handle of the current connection (as provided by the BLE stack, is BLE_CONN_HANDLE_INVALID if not in a connection). | |
bool | is_notification_supported |
TRUE if notification of Battery Level is supported. |
Detailed Description
Battery Service structure.
This contains various status information for the service.
Definition at line 79 of file ble_bas.h.
Field Documentation
uint8_t battery_level_last |
uint16_t conn_handle |
uint16_t report_ref_handle |
uint16_t service_handle |
Generated on Tue Jul 12 2022 13:52:33 by
