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)

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

Macro Definition Documentation#

BLE_PEER_MANAGER_COMMON_LOG#

#define BLE_PEER_MANAGER_COMMON_LOG
Value:
0

Definition at line 44 of file common/ble_peer_manager/common/config/ble_peer_manager_common_config.h

BLE_PEER_MANAGER_COMMON_LOG_PREFIX#

#define BLE_PEER_MANAGER_COMMON_LOG_PREFIX
Value:
"[PM]"

Definition at line 50 of file common/ble_peer_manager/common/config/ble_peer_manager_common_config.h

BLE_PEER_MANAGER_COMMON_MAX_ALLOWED_CONN_COUNT#

#define BLE_PEER_MANAGER_COMMON_MAX_ALLOWED_CONN_COUNT
Value:
4

Definition at line 59 of file common/ble_peer_manager/common/config/ble_peer_manager_common_config.h

BLE_PEER_MANAGER_COMMON_TIMEOUT_GATT_MS#

#define BLE_PEER_MANAGER_COMMON_TIMEOUT_GATT_MS
Value:
10000

Definition at line 65 of file common/ble_peer_manager/common/config/ble_peer_manager_common_config.h