10.5.1.1 APP_BLE_LinkState_T

C

typedef enum APP_BLE_LinkState_T
{
    APP_BLE_STATE_STANDBY,
    APP_BLE_STATE_ADVERTISING,
    APP_BLE_STATE_SCANNING,
    APP_BLE_STATE_CONNECTED,
    APP_BLE_STATE_TOTAL
} APP_BLE_LinkState_T;

Description

Enumeration type of BLE state.

EnumeratorDescription
APP_BLE_STATE_STANDBYStandby state. i.e. not advertising
APP_BLE_STATE_ADVERTISINGBLE is advertising
APP_BLE_STATE_SCANNINGBLE is scanning (only for BLE_GAP_ROLE_CENTRAL)
APP_BLE_STATE_CONNECTEDBLE is connected
APP_BLE_STATE_TOTALFinal State