Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: nrf51-sdk
Dependents: microbit-dal microbit-ble-open microbit-dal-eddystone microbit-dal-ble-accelerometer-example ... more
Diff: btle/btle_security.cpp
- Revision:
- 159:22a551904ffc
- Parent:
- 158:ad708a3d7ad7
- Child:
- 356:55ede9fd5279
diff -r ad708a3d7ad7 -r 22a551904ffc btle/btle_security.cpp
--- a/btle/btle_security.cpp	Fri May 08 15:33:59 2015 +0100
+++ b/btle/btle_security.cpp	Fri May 08 15:33:59 2015 +0100
@@ -148,14 +148,14 @@
     switch (p_event->event_id) {
         case DM_EVT_SECURITY_SETUP: /* started */ {
             const ble_gap_sec_params_t *peerParams = &p_event->event_param.p_gap_param->params.sec_params_request.peer_params;
-            nRF51Gap::getInstance().processSecurityProcedureInitiatedEvent(p_event->event_param.p_gap_param->conn_handle,
+            nRF51Gap::getInstance().processSecuritySetupInitiatedEvent(p_event->event_param.p_gap_param->conn_handle,
                                                                            peerParams->bond,
                                                                            peerParams->mitm,
                                                                            (Gap::SecurityIOCapabilities_t)peerParams->io_caps);
             break;
         }
         case DM_EVT_SECURITY_SETUP_COMPLETE:
-            nRF51Gap::getInstance().processSecurityProcedureCompletedEvent(p_event->event_param.p_gap_param->conn_handle,
+            nRF51Gap::getInstance().processSecuritySetupCompletedEvent(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: {