mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-07 16:20:19 +00:00
example/hog demos: use correct event getter to access con handle
This commit is contained in:
parent
a71df68ad1
commit
31eaaa99f8
@ -422,7 +422,7 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack
|
||||
#endif
|
||||
break;
|
||||
case HIDS_SUBEVENT_BOOT_KEYBOARD_INPUT_REPORT_ENABLE:
|
||||
con_handle = hids_subevent_input_report_enable_get_con_handle(packet);
|
||||
con_handle = hids_subevent_boot_keyboard_input_report_enable_get_con_handle(packet);
|
||||
printf("Boot Keyboard Characteristic Subscribed %u\n", hids_subevent_boot_keyboard_input_report_enable_get_enable(packet));
|
||||
break;
|
||||
case HIDS_SUBEVENT_PROTOCOL_MODE:
|
||||
|
@ -358,11 +358,11 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack
|
||||
|
||||
break;
|
||||
case HIDS_SUBEVENT_BOOT_KEYBOARD_INPUT_REPORT_ENABLE:
|
||||
con_handle = hids_subevent_input_report_enable_get_con_handle(packet);
|
||||
con_handle = hids_subevent_boot_keyboard_input_report_enable_get_con_handle(packet);
|
||||
printf("Boot Keyboard Characteristic Subscribed %u\n", hids_subevent_boot_keyboard_input_report_enable_get_enable(packet));
|
||||
break;
|
||||
case HIDS_SUBEVENT_BOOT_MOUSE_INPUT_REPORT_ENABLE:
|
||||
con_handle = hids_subevent_input_report_enable_get_con_handle(packet);
|
||||
con_handle = hids_subevent_boot_mouse_input_report_enable_get_con_handle(packet);
|
||||
printf("Boot Mouse Characteristic Subscribed %u\n", hids_subevent_boot_mouse_input_report_enable_get_enable(packet));
|
||||
break;
|
||||
case HIDS_SUBEVENT_PROTOCOL_MODE:
|
||||
|
@ -516,7 +516,7 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack
|
||||
|
||||
case HIDS_SUBEVENT_BOOT_KEYBOARD_INPUT_REPORT_ENABLE:
|
||||
report_type = HIDS_BOOT_KEYBOARD_INPUT_REPORT;
|
||||
con_handle = hids_subevent_input_report_enable_get_con_handle(packet);
|
||||
con_handle = hids_subevent_boot_keyboard_input_report_enable_get_con_handle(packet);
|
||||
printf("Boot Keyboard Characteristic Subscribed %u\n", hids_subevent_boot_keyboard_input_report_enable_get_enable(packet));
|
||||
break;
|
||||
case HIDS_SUBEVENT_BOOT_MOUSE_INPUT_REPORT_ENABLE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user