zephyr/samples/subsys
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
..
canbus samples: canbus: isotpfix: Add testing fixture 2020-08-12 16:07:42 -05:00
console zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
fs subsys/fs: Add open flags parameter to fs_open 2020-07-30 16:33:18 +02:00
ipc samples: Apply IPM callback signature change where relevant 2020-07-30 09:51:51 +02:00
logging samples: subsys: logging: logger: Fix performance showcase 2020-07-09 11:27:22 +02:00
mgmt samples: smp_svr: Fix configuration when BT_HCI_ACL_FLOW_CONTROL is on 2020-08-06 11:46:48 +02:00
nvs samples: nvs: Do full chip erase when flashing 2020-08-11 09:39:49 -04:00
power/device_pm device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
settings boards: dts: Fix broken link in comment 2020-07-31 09:00:32 -05:00
shell boards: arm: nrf: Adding Circuit Dojo nRF9160 Feather definitions. 2020-07-10 17:56:00 +02:00
tracing samples: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
usb usb: hid: Allow to send data only if CONFIGURED. 2020-08-13 11:45:31 +02:00
subsys.rst doc: add labels to sample docs 2017-04-04 20:48:08 +00:00