mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-04 06:39:53 +00:00
added l2cap_require_security_level_2_for_outgoing_sdp
This commit is contained in:
parent
ac301f9556
commit
2794f959a7
@ -404,6 +404,7 @@ void show_usage(){
|
||||
printf("q - send L2CAP data\n");
|
||||
printf("r - send L2CAP ECHO request\n");
|
||||
printf("s - close L2CAP channel\n");
|
||||
printf("x - require SSP for outgoing SDP L2CAP channel\n");
|
||||
printf("---\n");
|
||||
printf("Ctrl-c - exit\n");
|
||||
printf("---\n");
|
||||
@ -540,6 +541,10 @@ int stdin_process(struct data_source *ds){
|
||||
printf("L2CAP Channel Closed\n");
|
||||
l2cap_disconnect_internal(local_cid, 0);
|
||||
break;
|
||||
case 'x':
|
||||
printf("Outgoing L2CAP Channels to SDP will also require SSP\n");
|
||||
l2cap_require_security_level_2_for_outgoing_sdp();
|
||||
break;
|
||||
|
||||
case 'l':
|
||||
printf("Creating RFCOMM Channel to %s #%u\n", bd_addr_to_str(remote), rfcomm_channel_nr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user