fdsf
Fork of nRF51822 by
Diff: btle/btle_security.cpp
- Revision:
- 154:9d51b9dfc72e
- Parent:
- 152:0e74b7590ab2
- Child:
- 158:ad708a3d7ad7
diff -r 3397d1bc1ab1 -r 9d51b9dfc72e btle/btle_security.cpp --- a/btle/btle_security.cpp Fri May 08 15:33:58 2015 +0100 +++ b/btle/btle_security.cpp Fri May 08 15:33:58 2015 +0100 @@ -155,7 +155,8 @@ break; } case DM_EVT_SECURITY_SETUP_COMPLETE: - nRF51Gap::getInstance().processSecuritySetupCompletedEvent(p_event->event_param.p_gap_param->conn_handle); + nRF51Gap::getInstance().processSecurityProcedureCompletedEvent(p_event->event_param.p_gap_param->conn_handle, + (Gap::SecurityCompletionStatus_t)(p_event->event_param.p_gap_param->params.auth_status.auth_status)); break; case DM_EVT_LINK_SECURED: nRF51Gap::getInstance().processLinkSecuredEvent(p_event->event_param.p_gap_param->conn_handle);