From c10be05f57f74467822ecfa9e813ca367005c7e2 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 3 Dec 2019 10:57:21 +0100 Subject: [PATCH] example/pan_lwip_http_server: set CoD to Networking/Network Access Point --- example/pan_lwip_http_server.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/example/pan_lwip_http_server.c b/example/pan_lwip_http_server.c index ab8ba28c6..e6232317b 100644 --- a/example/pan_lwip_http_server.c +++ b/example/pan_lwip_http_server.c @@ -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);