BLE_API v2.1.3

Macros
BLE BAS Service and Characteristic Definitions
BLE Services » BLE Defined-Services » BLE BAS Definitions

## Macros
#define | ATT_BAS_SERVICE
const ATTRIBUTE_BLE | ATT_BAS_PRIMARY_SERVICE
const ATTRIBUTE_BLE | ATT_BAS_CHARACTERISTIC_BATTERY_LEVEL
const ATTRIBUTE_BLE | ATT_BAS_BATTERY_LEVEL
const ATTRIBUTE_BLE | ATT_BAS_BATTERY_LEVEL_CLIENT_CHARC_CONFIGURATION

## Detailed Description

Here shows the definitions of the BAS service and characteristic.

## Macro Definition Documentation

## ◆ ATT_BAS_SERVICE

#define ATT_BAS_SERVICE

Value:
&ATT_BAS_PRIMARY_SERVICE, \
&ATT_BAS_CHARACTERISTIC_BATTERY_LEVEL, \
&ATT_BAS_BATTERY_LEVEL, \
&ATT_BAS_BATTERY_LEVEL_CLIENT_CHARC_CONFIGURATION, \
ATT_BAS_PRIMARY_SERVICE
const ATTRIBUTE_BLE ATT_BAS_PRIMARY_SERVICE
ATT_BAS_BATTERY_LEVEL
const ATTRIBUTE_BLE ATT_BAS_BATTERY_LEVEL
ATT_BAS_BATTERY_LEVEL_CLIENT_CHARC_CONFIGURATION
const ATTRIBUTE_BLE ATT_BAS_BATTERY_LEVEL_CLIENT_CHARC_CONFIGURATION
ATT_BAS_CHARACTERISTIC_BATTERY_LEVEL
const ATTRIBUTE_BLE ATT_BAS_CHARACTERISTIC_BATTERY_LEVEL

BAS Service Definition

## Variable Documentation

## ◆ ATT_BAS_BATTERY_LEVEL

const ATTRIBUTE_BLE ATT_BAS_BATTERY_LEVEL
| extern

BAS BATTERY_LEVEL value.

## ◆ ATT_BAS_BATTERY_LEVEL_CLIENT_CHARC_CONFIGURATION

const ATTRIBUTE_BLE ATT_BAS_BATTERY_LEVEL_CLIENT_CHARC_CONFIGURATION
| extern

BAS BATTERY_LEVEL client characteristic configuration descriptor.

## ◆ ATT_BAS_CHARACTERISTIC_BATTERY_LEVEL

const ATTRIBUTE_BLE ATT_BAS_CHARACTERISTIC_BATTERY_LEVEL
| extern

BAS characteristic BATTERY_LEVEL.

## ◆ ATT_BAS_PRIMARY_SERVICE

const ATTRIBUTE_BLE ATT_BAS_PRIMARY_SERVICE
| extern

BAS primary service.