Commit 963528a
committed
-- add to NimbleClient.h/cpp
virtual void onPassKeyDisplay(NimBLEConnInfo& connInfo);
-- modify NimbleClient.cpp
Add the conditional statement event->passkey.params.action == BLE_SM_IOACT_DISP to the case BLE_GAP_EVENT_PASSKEY_ACTION: block in NimBLEClient::handleGapEvent().
-- add to NimbleDevice.h/cpp
static bool injectDisplayPassKey(const NimBLEConnInfo& peerInfo, uint32_t pin);1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1304 | 1304 | | |
1305 | 1305 | | |
1306 | 1306 | | |
1307 | | - | |
| 1307 | + | |
1308 | 1308 | | |
1309 | 1309 | | |
1310 | 1310 | | |
| |||
0 commit comments