Commit bf35fb8
committed
NimBLEServerCallbacks::onPassKeyRequest(),
NimBLEServer::handleGapEvent() {
} else if(event->passkey.params.action == BLE_SM_IOACT_INPUT) {
NIMBLE_LOGI(LOG_TAG, "BLE_SM_IOACT_INPUT!!!!");
pServer->m_pServerCallbacks->onPassKeyRequest(peerInfo);
}
}
added.
This function/action is necessary when using NimBLEDevice::setSecurityIOCap(BLE_HS_IO_KEYBOARD_ONLY).1 parent 9ac9a72 commit bf35fb8
2 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
604 | | - | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
605 | 608 | | |
606 | 609 | | |
607 | 610 | | |
| |||
1032 | 1035 | | |
1033 | 1036 | | |
1034 | 1037 | | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
1035 | 1041 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
224 | 225 | | |
225 | 226 | | |
226 | 227 | | |
| |||
0 commit comments