Skip to content

Commit 7eb6869

Browse files
KKopyscinskicfriedt
authored andcommitted
bluetooth: tester: allow to set DisplayYesNo IO capability
This allows us to run SCPK tests with it. signed-off-by: Krzysztof Kopyściński <[email protected]>
1 parent 5c08f18 commit 7eb6869

File tree

1 file changed

+4
-0
lines changed
  • tests/bluetooth/tester/src

1 file changed

+4
-0
lines changed

tests/bluetooth/tester/src/gap.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,10 @@ static void set_io_cap(const uint8_t *data, uint16_t len)
953953
cb.passkey_entry = auth_passkey_entry;
954954
break;
955955
case GAP_IO_CAP_DISPLAY_YESNO:
956+
cb.cancel = auth_cancel;
957+
cb.passkey_display = auth_passkey_display;
958+
cb.passkey_confirm = auth_passkey_confirm;
959+
break;
956960
default:
957961
LOG_WRN("Unhandled io_cap: 0x%x", cmd->io_cap);
958962
status = BTP_STATUS_FAILED;

0 commit comments

Comments
 (0)