![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| void pm_handler_secure_on_error | ( | const ble_evt_t * | ble_evt | ) |
#include <peer_manager_handler.h>
Secure a connection if a GATT read or write operation lacks security.
This function starts pairing if a GATTC procedure fails with insufficient encryption or insufficient authentication. This is meant to delay performing pairing/bonding until it is actually needed to access resources. This is affected by PM_HANDLER_SEC_DELAY_MS.
| [in] | ble_evt | Event to handle. |