nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ pm_conn_exclude()

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.

Parameters
[in]conn_handleThe connection to be excluded.
[in]contextThe context found in the request event that this function replies to.
Return values
NRF_SUCCESSIf the reply was successful.
NRF_ERROR_NULLIf context was NULL.