11.5.2.2 APP_GetBleState

C

APP_BLE_LinkState_T APP_GetBleState(void);

Description

Returns BLE link state

Return values

Return valueDescription
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