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.cpp
- Revision:
- 356:55ede9fd5279
- Parent:
- 351:77f16b36012a
- Child:
- 360:7c68c8d67e1f
--- a/btle/btle.cpp Fri Jun 19 15:55:36 2015 +0100 +++ b/btle/btle.cpp Fri Jun 19 15:55:37 2015 +0100 @@ -33,6 +33,8 @@ #include "GapEvents.h" #include "nRF51Gap.h" #include "nRF51GattServer.h" +#include "nRF51SecurityManager.h" + #include "device_manager.h" #include "ble_hci.h" @@ -151,7 +153,7 @@ } case BLE_GAP_EVT_PASSKEY_DISPLAY: - nRF51Gap::getInstance().processPasskeyDisplayEvent(p_ble_evt->evt.gap_evt.conn_handle, p_ble_evt->evt.gap_evt.params.passkey_display.passkey); + nRF51SecurityManager::getInstance().processPasskeyDisplayEvent(p_ble_evt->evt.gap_evt.conn_handle, p_ble_evt->evt.gap_evt.params.passkey_display.passkey); break; case BLE_GAP_EVT_TIMEOUT: