BLE Peer Manager Common#

Peer Manager for Bluetooth Low Energy. Responsible for advertising and creating connections. The user can set the advertising parameters.

Modules#

ble_peer_manager_evt_type_s

Enumerations#

enum
BLE_PEER_MANAGER_ON_CONN_OPENED_CENTRAL = 0
BLE_PEER_MANAGER_ON_CONN_OPENED_PERIPHERAL
BLE_PEER_MANAGER_ON_CONN_CLOSED
BLE_PEER_MANAGER_ON_ADV_STOPPED
BLE_PEER_MANAGER_ERROR
}

Functions#

void
ble_peer_manager_on_event(ble_peer_manager_evt_type_t *event)

Macros#

#define
BLE_PEER_MANAGER_COMMON_LOG 0
#define
BLE_PEER_MANAGER_COMMON_LOG_PREFIX "[PM]"
#define
BLE_PEER_MANAGER_COMMON_MAX_ALLOWED_CONN_COUNT 4
#define
BLE_PEER_MANAGER_COMMON_TIMEOUT_GATT_MS 10000

Enumeration Documentation#

ble_peer_manager_evt_id#

ble_peer_manager_evt_id
Enumerator
BLE_PEER_MANAGER_ON_CONN_OPENED_CENTRAL
BLE_PEER_MANAGER_ON_CONN_OPENED_PERIPHERAL
BLE_PEER_MANAGER_ON_CONN_CLOSED
BLE_PEER_MANAGER_ON_ADV_STOPPED
BLE_PEER_MANAGER_ERROR

Definition at line 40 of file common/ble_peer_manager/common/ble_peer_manager_common.h

Typedef Documentation#

ble_peer_manager_evt_type_t#

typedef struct ble_peer_manager_evt_type_s ble_peer_manager_evt_type_t

Definition at line 51 of file common/ble_peer_manager/common/ble_peer_manager_common.h

Function Documentation#

ble_peer_manager_on_event#

void ble_peer_manager_on_event (ble_peer_manager_evt_type_t * event)
Parameters
N/Aevent

Definition at line 53 of file common/ble_peer_manager/common/ble_peer_manager_common.h