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-bluetooth-mdw
Fork of nRF51822 by
Diff: btle/btle.cpp
- Revision:
- 161:6712855a0107
- Parent:
- 160:7d04579fdb2a
- Child:
- 165:67fcad70785a
diff -r 7d04579fdb2a -r 6712855a0107 btle/btle.cpp
--- a/btle/btle.cpp Fri May 08 15:33:59 2015 +0100
+++ b/btle/btle.cpp Fri May 08 15:33:59 2015 +0100
@@ -146,6 +146,10 @@
break;
}
+ 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);
+ break;
+
case BLE_GAP_EVT_TIMEOUT:
if (p_ble_evt->evt.gap_evt.params.timeout.src == BLE_GAP_TIMEOUT_SRC_ADVERTISING) {
nRF51Gap::getInstance().processEvent(GapEvents::GAP_EVENT_TIMEOUT);
