Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches

◆ ble_common_is_connected()

bool ble_common_is_connected ( void )

#include <applications/gesture_recognition/src/ble/ble_common.h>

Get the current BLE connection state.

Safe to call regardless of the selected BLE mode. When CONFIG_BLE_MODE_NONE is enabled this will always return false unless an external module explicitly sets the state.

Returns
true if a peer is currently connected, false otherwise.