Cypress PSoC 6 Bluetooth Low Energy Middleware Library 3.60
BAS Definitions and Data Structures

General Description

Contains the BAS specific definitions and data structures used in the BAS API.

Data Structures

struct  cy_stc_ble_bass_t
 Structure with Battery Service attribute handles. More...
 
struct  cy_stc_ble_basc_t
 Structure with Discovered Attributes Information of Battery Service. More...
 
struct  cy_stc_ble_bas_char_value_t
 Battery Service Characteristic Value parameter structure. More...
 
struct  cy_stc_ble_bas_descr_value_t
 Battery Service Characteristic descriptor Value parameter structure. More...
 
struct  cy_stc_ble_bass_config_t
 Service configuration structure (server) More...
 
struct  cy_stc_ble_basc_config_t
 Service Configuration structure (client) More...
 

Enumerations

enum  cy_en_ble_bas_char_index_t {
  CY_BLE_BAS_BATTERY_LEVEL,
  CY_BLE_BAS_CHAR_COUNT
}
 BAS Characteristic indexes. More...
 
enum  cy_en_ble_bas_descr_index_t {
  CY_BLE_BAS_BATTERY_LEVEL_CCCD,
  CY_BLE_BAS_BATTERY_LEVEL_CPFD,
  CY_BLE_BAS_DESCR_COUNT
}
 BAS Characteristic Descriptors indexes. More...
 

Enumeration Type Documentation

◆ cy_en_ble_bas_char_index_t

BAS Characteristic indexes.

Enumerator
CY_BLE_BAS_BATTERY_LEVEL 

Battery Level Characteristic index.

CY_BLE_BAS_CHAR_COUNT 

Total Count of Characteristics.

◆ cy_en_ble_bas_descr_index_t

BAS Characteristic Descriptors indexes.

Enumerator
CY_BLE_BAS_BATTERY_LEVEL_CCCD 

Client Characteristic Configuration Descriptor index.

CY_BLE_BAS_BATTERY_LEVEL_CPFD 

Characteristic Presentation Format Descriptor index.

CY_BLE_BAS_DESCR_COUNT 

Total Count of Descriptors.