nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches
ble_bas_config Struct Reference

Battery service configuration. More...

#include <bm/bluetooth/services/ble_bas.h>

Data Fields

ble_bas_evt_handler_t evt_handler
 Battery service event handler.
 
struct { 
 
   uint8_t   report_id 
 Report ID. More...
 
   uint8_t   report_type 
 Report type. More...
 
} * report_ref 
 Report Reference Descriptor.
 
bool can_notify
 Allow notifications.
 
uint8_t battery_level
 Initial battery level.
 
struct { 
 
   struct { 
 
      ble_gap_conn_sec_mode_t   read 
 
      ble_gap_conn_sec_mode_t   cccd_write 
 
   }   battery_lvl_char 
 
   struct { 
 
      ble_gap_conn_sec_mode_t   read 
 
   }   battery_report_ref 
 
sec_mode 
 

Detailed Description

Battery service configuration.


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