pm_evt_t

nRF5 SDK v17.1.0

An event from the Peer Manager module. More...

#include <peer_manager_types.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_config_req_evt_t conn_config_req
Parameters specific to the PM_EVT_CONN_CONFIG_REQ event.
pm_conn_sec_start_evt_t conn_sec_start
Parameters specific to the PM_EVT_CONN_SEC_START event.
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_conn_sec_params_req_evt_t conn_sec_params_req
Parameters specific to the PM_EVT_CONN_SEC_PARAMS_REQ 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_ERROR_UNEXPECTED event.
ble_gap_evt_sec_request_t slave_security_req
Parameters specific to the PM_EVT_SLAVE_SECURITY_REQ event.
pm_failure_evt_t garbage_collection_failed
Parameters specific to the PM_EVT_FLASH_GARBAGE_COLLECTION_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_types.h