Type describing all errors that can occur asynchronously when securing a link. More...
#include <peer_manager.h>
Data Fields | |
pm_error_type_t | error_type |
uint8_t | error_src |
union { | |
uint8_t sec_status | |
pm_sec_error_code_t pm_sec_error | |
} | error |
Type describing all errors that can occur asynchronously when securing a link.
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.