Shuta Nakamae / nRF51822

Fork of nRF51822 by Nordic Semiconductor

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Fri May 08 15:33:58 2015 +0100
Parent:
153:3397d1bc1ab1
Child:
155:8f2079052f77
Commit message:
Synchronized with git rev 9c406b49
Author: Rohit Grover
handle securityProcedureCompletedEvent

Changed in this revision

btle/btle_security.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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);