Cypress PSoC 6 Bluetooth Low Energy Middleware Library 3.60
Battery Service (BAS)

General Description

The Battery Service exposes the battery level of a single battery or set of batteries in a device.

Depending on the chosen GATT role in the Bluetooth Configurator, you may use a subset of the supported API.

The BAS API names begin with Cy_BLE_BAS_. In addition to this, the API also append the GATT role initial letter in the API name.

API Reference

 BAS Server and Client Function
 These are API common to both GATT Client role and GATT Server role.
 
 BAS Server Functions
 API unique to BAS designs configured as a GATT Server role.
 
 BAS Client Functions
 API unique to BAS designs configured as a GATT Client role.
 
 BAS Definitions and Data Structures
 Contains the BAS specific definitions and data structures used in the BAS API.