zephyr/subsys/usb/class
Emil Obalski 27f207694c usb: hid: Allow to send data only if CONFIGURED.
USB device shall be able to send only in CONFIGURED state.
Zephyr USB HID device class allows to send the data no matter
of the USB state what is wrong. Attempting to write to endpoint
buffer in state != CONFIGURED may lead to driver error.

This patch introduces state tracing for USB HID class and
allows to send data using hid_int_ep_write() class API
only if the device remains in CONFIGURED state.

Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
2020-08-13 11:45:31 +02:00
..
audio device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
hid usb: hid: Allow to send data only if CONFIGURED. 2020-08-13 11:45:31 +02:00
netusb
bluetooth.c
bt_h4.c
cdc_acm.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
CMakeLists.txt
Kconfig
Kconfig.template.composite_device_number
loopback.c
mass_storage.c
usb_dfu.c