mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-25 16:43:28 +00:00
example/pan_lwip_http_server: set CoD to Networking/Network Access Point
This commit is contained in:
parent
4251aeec03
commit
c10be05f57
@ -166,6 +166,9 @@ static void pan_bnep_setup(void){
|
||||
gap_set_local_name("PAN HTTP 00:00:00:00:00:00");
|
||||
gap_discoverable_control(1);
|
||||
|
||||
// Major: Networking Device, Minor: Networ Access Point
|
||||
gap_set_class_of_device(0x20300);
|
||||
|
||||
// register for HCI events
|
||||
hci_event_callback_registration.callback = &packet_handler;
|
||||
hci_add_event_handler(&hci_event_callback_registration);
|
||||
|
Loading…
x
Reference in New Issue
Block a user