![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t pm_conn_exclude | ( | uint16_t | conn_handle, |
| const void * | context ) |
#include <peer_manager.h>
Exclude a connection from the Bluetooth LE event flow handled inside the Peer Manager.
This function is optional, and must be called in reply to a PM_EVT_CONN_CONFIG_REQ event, before the Peer Manager event handler returns. If it is not called in time, Bluetooth LE events for a connection handle passed in the PM_EVT_CONN_CONFIG_REQ event will be normally handled by the Peer Manager.
| [in] | conn_handle | The connection to be excluded. |
| [in] | context | The context found in the request event that this function replies to. |
| NRF_SUCCESS | If the reply was successful. |
| NRF_ERROR_NULL | If context was NULL. |