mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-12-22 19:10:46 +01:00
Fix client passkey callback value not sent to server.
This commit is contained in:
parent
492bcf6f78
commit
a17f3199bd
1 changed files with 1 additions and 1 deletions
|
@ -894,7 +894,7 @@ uint16_t NimBLEClient::getMTU() {
|
|||
pkey.passkey = NimBLEDevice::m_securityCallbacks->onPassKeyRequest();
|
||||
/////////////////////////////////////////////
|
||||
} else {
|
||||
client->m_pClientCallbacks->onPassKeyRequest();
|
||||
pkey.passkey = client->m_pClientCallbacks->onPassKeyRequest();
|
||||
}
|
||||
|
||||
rc = ble_sm_inject_io(event->passkey.conn_handle, &pkey);
|
||||
|
|
Loading…
Reference in a new issue