process GAP_EVT_PASSKEY_DISPLAY
This commit is contained in:
parent
364ab5a1ad
commit
2edf0b1b51
1 changed files with 4 additions and 0 deletions
|
@ -146,6 +146,10 @@ static void btle_handler(ble_evt_t *p_ble_evt)
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue