diff --git a/example/libusb/classic_test.c b/example/libusb/classic_test.c index 922372d11..805e499c0 100644 --- a/example/libusb/classic_test.c +++ b/example/libusb/classic_test.c @@ -410,6 +410,7 @@ void show_usage(){ printf("r - send L2CAP ECHO request\n"); printf("s - close L2CAP channel\n"); printf("x - require SSP for outgoing SDP L2CAP channel\n"); + printf("+ - initate SSP on current connection\n"); printf("---\n"); printf("Ctrl-c - exit\n"); printf("---\n"); @@ -590,6 +591,11 @@ int stdin_process(struct data_source *ds){ rfcomm_channel_id = 0; break; + case '+': + printf("Initiate SSP on current connection\n"); + gap_request_security_level(handle); + break; + default: show_usage(); break;