BLE_API v2.1.3

BLE State Definition
BLE Common » BLE Command Definition

## BleState
Define BLE State.
typedef uint8_t | BleMode
#define | STATE_BLE_STANDBY 0x00
#define | STATE_BLE_ADVERTISING 0x01
#define | STATE_BLE_CONNECTION 0x02
#define | STATE_BLE_SCANNING 0x03
#define | STATE_BLE_INITIATING 0x04
#define | STATE_BLE_CONN_ESTABLISHING 0x05

## Detailed Description

BLE state definition.

## Macro Definition Documentation

## ◆ STATE_BLE_ADVERTISING

#define STATE_BLE_ADVERTISING 0x01

Advertising mode.

## ◆ STATE_BLE_CONN_ESTABLISHING

#define STATE_BLE_CONN_ESTABLISHING 0x05

Connection establishing mode.

## ◆ STATE_BLE_CONNECTION

#define STATE_BLE_CONNECTION 0x02

Connection mode.

## ◆ STATE_BLE_INITIATING

#define STATE_BLE_INITIATING 0x04

Initialating mode.

## ◆ STATE_BLE_SCANNING

#define STATE_BLE_SCANNING 0x03

Scanning mode.

## ◆ STATE_BLE_STANDBY

#define STATE_BLE_STANDBY 0x00

Standby mode.