An event from the Peer Manager module. More...
#include <peer_manager.h>
Data Fields |
|
| pm_evt_id_t | evt_id |
|
The type of the event.
|
|
| uint16_t | conn_handle |
|
The connection that this event pertains to, or
BLE_CONN_HANDLE_INVALID
.
|
|
| pm_peer_id_t | peer_id |
|
The bonded peer that this event pertains to, or
PM_PEER_ID_INVALID
.
|
|
| union { | |
| pm_conn_secured_evt_t conn_sec_succeeded | |
|
Parameters specific to the
PM_EVT_CONN_SEC_SUCCEEDED
event.
|
|
| pm_conn_secure_failed_evt_t conn_sec_failed | |
|
Parameters specific to the
PM_EVT_CONN_SEC_FAILED
event.
|
|
| pm_peer_data_update_succeeded_evt_t peer_data_update_succeeded | |
|
Parameters specific to the
PM_EVT_PEER_DATA_UPDATE_SUCCEEDED
event.
|
|
| pm_peer_data_update_failed_t peer_data_update_failed | |
|
Parameters specific to the
PM_EVT_PEER_DATA_UPDATE_FAILED
event.
|
|
| pm_failure_evt_t peer_delete_failed | |
|
Parameters specific to the
PM_EVT_PEER_DELETE_FAILED
event.
|
|
| pm_failure_evt_t peers_delete_failed_evt | |
|
Parameters specific to the
PM_EVT_PEERS_DELETE_FAILED
event.
|
|
| pm_failure_evt_t error_unexpected | |
|
Parameters specific to the
PM_EVT_PEER_DELETE_FAILED
event.
|
|
| } | params |
Detailed Description
An event from the Peer Manager module.
The structure contains both standard parameters and parameters that are specific to some events.
- components/ble/peer_manager/peer_manager.h