zephyr/samples
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
..
application_development device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
basic treewide: remove unnecessary DT GPIO/PWM flags checks 2020-08-04 07:35:26 -05:00
bluetooth samples: hci_spi: Fix cmd_hdr and acl_hdr usage 2020-08-04 17:53:18 +02:00
boards samples: nrf: onoff_level_lighting_vnd_app: build with mcumgr 2020-08-06 11:54:54 +02:00
cpp_synchronization samples: cpp_synchronization: filter for integration 2020-07-30 08:00:03 -04:00
display samples: display: lvgl: add note about LOG_STRDUP settings 2020-07-27 15:06:22 +02:00
drivers samples: flash_shell: remove obsolete command function 2020-08-05 15:30:20 -04:00
hello_world samples: hello_world: filter for integration 2020-07-30 08:00:03 -04:00
mpu
net device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
philosophers samples: philosophers: enable for integration testing 2020-07-30 08:00:03 -04:00
portability
posix
scheduler
sensor MXRT600: Add I2C support 2020-07-31 08:23:20 -05:00
shields samples: shields: x_nucleo_iks0xax: exclude lpcxpresso55s16_ns board 2020-06-19 15:18:16 +02:00
smp samples: pi: add integration support 2020-07-30 08:00:03 -04:00
subsys usb: hid: Allow to send data only if CONFIGURED. 2020-08-13 11:45:31 +02:00
synchronization
testing/integration
tfm_integration
userspace device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
video
classic.rst
index.rst