pm_sec_error_t

nRF5 SDK v10.0.0

nRF51 SDK v10.0.0

Type describing all errors that can occur asynchronously when securing a link. More...

#include <peer_manager.h>

Detailed Description

Type describing all errors that can occur asynchronously when securing a link.

Field Documentation

uint8_t pm_sec_error_t::error_src

The party that raised the error, see GAP Security status sources .

pm_error_type_t pm_sec_error_t::error_type

Which type of error. Specifies which entry in the below union to read.

pm_sec_error_code_t pm_sec_error_t::pm_sec_error

The error when the error_type is PM_ERROR_TYPE_PM_SEC_ERROR .

uint8_t pm_sec_error_t::sec_status

The error when the error_type is PM_ERROR_TYPE_SEC_STATUS . See GAP Security status . See also Table 3.7 ("Pairing Failed Reason Codes") in the Bluetooth Core Specification 4.2, Vol 3, Part H, Ch 3.5.5.


Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone .