Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...
Fork of nRF51822 by
Revision 161:6712855a0107, committed 2015-05-08
- Comitter:
- rgrover1
- Date:
- Fri May 08 15:33:59 2015 +0100
- Parent:
- 160:7d04579fdb2a
- Child:
- 162:ba351b0adc4b
- Commit message:
- Synchronized with git rev 2edf0b1b
Author: Rohit Grover
process GAP_EVT_PASSKEY_DISPLAY
Changed in this revision
btle/btle.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);