nRF5 SDK v16.0.0
Data Fields
ble_bas_s Struct Reference

Battery Service structure. This contains various status information for the service. More...

#include <ble_bas.h>

Data Fields

ble_bas_evt_handler_t evt_handler
 
uint16_t service_handle
 
ble_gatts_char_handles_t battery_level_handles
 
uint16_t report_ref_handle
 
uint8_t battery_level_last
 
bool is_notification_supported
 

Detailed Description

Battery Service structure. This contains various status information for the service.

Field Documentation

ble_gatts_char_handles_t ble_bas_s::battery_level_handles

Handles related to the Battery Level characteristic.

uint8_t ble_bas_s::battery_level_last

Last Battery Level measurement passed to the Battery Service.

ble_bas_evt_handler_t ble_bas_s::evt_handler

Event handler to be called for handling events in the Battery Service.

bool ble_bas_s::is_notification_supported

TRUE if notification of Battery Level is supported.

uint16_t ble_bas_s::report_ref_handle

Handle of the Report Reference descriptor.

uint16_t ble_bas_s::service_handle

Handle of Battery Service (as provided by the BLE stack).


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated