BLE_API v2.1.3

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

## Macros
#define | BLESERVICE_BAS_LEVEL_NOTIFY_EVENT 0x01
#define | BLESERVICE_BAS_LEVEL_READ_EVENT 0x02
#define | BLESERVICE_BAS_LEVEL_CCCD_WRITE_EVENT 0x03
#define | BLESERVICE_BAS_LEVEL_CCCD_WRITE_RSP_EVENT 0x04
#define | BLESERVICE_BAS_LEVEL_CCCD_READ_EVENT 0x05

## Detailed Description

Here shows the event definitions of the BAS service.

## Macro Definition Documentation

## ◆ BLESERVICE_BAS_LEVEL_CCCD_READ_EVENT

#define BLESERVICE_BAS_LEVEL_CCCD_READ_EVENT 0x05

Battery level cccd read event.

## ◆ BLESERVICE_BAS_LEVEL_CCCD_WRITE_EVENT

#define BLESERVICE_BAS_LEVEL_CCCD_WRITE_EVENT 0x03

Battery level cccd write event.

## ◆ BLESERVICE_BAS_LEVEL_CCCD_WRITE_RSP_EVENT

#define BLESERVICE_BAS_LEVEL_CCCD_WRITE_RSP_EVENT 0x04

Battery level cccd write response event.

## ◆ BLESERVICE_BAS_LEVEL_NOTIFY_EVENT

#define BLESERVICE_BAS_LEVEL_NOTIFY_EVENT 0x01

Battery level notification event.

## ◆ BLESERVICE_BAS_LEVEL_READ_EVENT

#define BLESERVICE_BAS_LEVEL_READ_EVENT 0x02

Battery level read event.