zephyr/subsys/usb/class
Johann Fischer 8999c30cee usb: hid: remove get_protocol/set_protocol from USB HID class API
The USB HID class API offers the possibility to register callbacks
for Get/SetIdle, Get/SetProtocol to the application.
Rules for these callbacks are neither obvious nor documented.

This patch remove this possibility to register Get/SetProtocol
and Get/SetIdle callbacks for the following reasons:

The possibility to call unknown application code while processing
control requests should be avoided or reduced to a minimum.

The Get/SetProtocol callbacks are redundant and do not provide any
additional value since the way to inform the application
about the change of the protocol exists via the callback
hid_protocol_cb_t protocol_change.

The core provides implementation to handle Get/SetIdle requests and
on idle reports. If this is not suitable in any way then the application
should implement everything itself.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2021-05-07 13:14:47 +02:00
..
audio usb: remove usage of device_pm_control_nop 2021-04-27 16:28:49 -04:00
dfu usb: dfu: convert z_timeout_end_calc to sys_clock_timeout_end_calc 2021-04-26 13:40:29 +02:00
hid usb: hid: remove get_protocol/set_protocol from USB HID class API 2021-05-07 13:14:47 +02:00
netusb usb: netusb: rndis: fix a typo 2021-05-01 14:17:39 -04:00
bluetooth.c usb: bluetooth: fix OUT buffer handling 2021-02-14 16:38:56 -05:00
bt_h4.c
cdc_acm.c usb: remove usage of device_pm_control_nop 2021-04-27 16:28:49 -04:00
CMakeLists.txt usb: move USB MSC configuration to its own Kconfig file 2021-02-19 14:39:26 -05:00
Kconfig usb: move USB Loopback class configuration to its own Kconfig 2021-02-19 14:39:26 -05:00
Kconfig.bt usb: move USB Bluetooth classes configuration to its own Kconfig 2021-02-19 14:39:26 -05:00
Kconfig.cdc usb: move CDC ACM configuration to to its own Kconfig file 2021-02-19 14:39:26 -05:00
Kconfig.msc usb: mass storage: add missing prompt to Kconfig 2021-03-01 09:27:57 -05:00
Kconfig.template.composite_device_number
Kconfig.test usb: move USB Loopback class configuration to its own Kconfig 2021-02-19 14:39:26 -05:00
loopback.c
msc.c include: move disk_access.h to storage 2021-03-23 12:16:01 +01:00