mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 08:37:22 +00:00
pts/sm_test: also simulate incorrect passkey entry
This commit is contained in:
parent
1a9063585d
commit
45a7413e73
@ -322,6 +322,9 @@ static void stdin_process(char c){
|
||||
printf("\n");
|
||||
fflush(stdout);
|
||||
sm_keypress_notification(connection_handle, SM_KEYPRESS_PASSKEY_ENTRY_COMPLETED);
|
||||
if (sm_failure == SM_REASON_PASSKEY_ENTRY_FAILED){
|
||||
ui_passkey--;
|
||||
}
|
||||
sm_passkey_input(connection_handle, ui_passkey);
|
||||
}
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user