File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ class ClientCallbacks : public NimBLEClientCallbacks {
3434 NimBLEDevice::injectPassKey (connInfo, 123456 );
3535 }
3636
37- void onConfirmPasskey (NimBLEConnInfo& connInfo, uint32_t pass_key ) override {
38- Serial.printf (" The passkey YES/NO number: %" PRIu32 " \n " , pass_key );
37+ void onConfirmPasskey (NimBLEConnInfo& connInfo, uint32_t passkey ) override {
38+ Serial.printf (" The passkey YES/NO number: %" PRIu32 " \n " , passkey );
3939 /* * Inject false if passkeys don't match. */
4040 NimBLEDevice::injectConfirmPasskey (connInfo, true );
4141 }
Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ class ServerCallbacks : public NimBLEServerCallbacks {
4949 return 123456 ;
5050 }
5151
52- void onConfirmPassKey (NimBLEConnInfo& connInfo, uint32_t pass_key ) override {
53- Serial.printf (" The passkey YES/NO number: %" PRIu32 " \n " , pass_key );
52+ void onConfirmPassKey (NimBLEConnInfo& connInfo, uint32_t passkey ) override {
53+ Serial.printf (" The passkey YES/NO number: %" PRIu32 " \n " , passkey );
5454 /* * Inject false if passkeys don't match. */
5555 NimBLEDevice::injectConfirmPasskey (connInfo, true );
5656 }
You can’t perform that action at this time.
0 commit comments