set Networking flag in CoD to indicate BNEP/PAN

This commit is contained in:
Matthias Ringwald 2015-11-01 10:23:27 +01:00
parent d6670ce8ef
commit 182af2536b
2 changed files with 2 additions and 2 deletions

View File

@ -779,7 +779,7 @@ int btstack_main(int argc, const char * argv[]){
printf("Starting up..\n");
hci_set_class_of_device(0x200404);
hci_set_class_of_device(0x220404);
hci_disable_l2cap_timeout_check();
hci_ssp_set_io_capability(IO_CAPABILITY_NO_INPUT_NO_OUTPUT);
gap_io_capabilities = "IO_CAPABILITY_NO_INPUT_NO_OUTPUT";

View File

@ -157,7 +157,7 @@ int stdin_process(struct data_source *ds){
int btstack_main(int argc, const char * argv[]);
int btstack_main(int argc, const char * argv[]){
hci_set_class_of_device(0x200404);
hci_set_class_of_device(0x220404);
hci_discoverable_control(1);
l2cap_init();