BLE Peer Manager Common#
Peer Manager for Bluetooth Low Energy. Responsible for advertising and creating connections. The user can set the advertising parameters.
Modules#
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
}
Typedefs#
typedef struct ble_peer_manager_evt_type_s
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/A | event |
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_LOGValue:
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_PREFIXValue:
"[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_COUNTValue:
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_MSValue:
10000
Definition at line
65
of file common/ble_peer_manager/common/config/ble_peer_manager_common_config.h