mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-05 21:59:45 +00:00
set Networking flag in CoD to indicate BNEP/PAN
This commit is contained in:
parent
d6670ce8ef
commit
182af2536b
@ -779,7 +779,7 @@ int btstack_main(int argc, const char * argv[]){
|
|||||||
|
|
||||||
printf("Starting up..\n");
|
printf("Starting up..\n");
|
||||||
|
|
||||||
hci_set_class_of_device(0x200404);
|
hci_set_class_of_device(0x220404);
|
||||||
hci_disable_l2cap_timeout_check();
|
hci_disable_l2cap_timeout_check();
|
||||||
hci_ssp_set_io_capability(IO_CAPABILITY_NO_INPUT_NO_OUTPUT);
|
hci_ssp_set_io_capability(IO_CAPABILITY_NO_INPUT_NO_OUTPUT);
|
||||||
gap_io_capabilities = "IO_CAPABILITY_NO_INPUT_NO_OUTPUT";
|
gap_io_capabilities = "IO_CAPABILITY_NO_INPUT_NO_OUTPUT";
|
||||||
|
@ -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[]);
|
||||||
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);
|
hci_discoverable_control(1);
|
||||||
|
|
||||||
l2cap_init();
|
l2cap_init();
|
||||||
|
Loading…
Reference in New Issue
Block a user