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_init_t Struct Reference
[Battery Service]
Battery Service init 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. | |
bool | support_notification |
TRUE if notification of Battery Level measurement is supported. | |
ble_srv_report_ref_t * | p_report_ref |
If not NULL, a Report Reference descriptor with the specified value will be added to the Battery Level characteristic. | |
uint8_t | initial_batt_level |
Initial battery level. | |
ble_srv_cccd_security_mode_t | battery_level_char_attr_md |
Initial security level for battery characteristics attribute. | |
ble_gap_conn_sec_mode_t | battery_level_report_read_perm |
Initial security level for battery report read attribute. |
Detailed Description
Battery Service init structure.
This contains all options and data needed for initialization of the service.
Definition at line 68 of file ble_bas.h.
Field Documentation
uint8_t initial_batt_level |
bool support_notification |
Generated on Tue Jul 12 2022 13:52:33 by
