zephyr/subsys/usb/class/netusb
Emil Obalski 2128750138 usb: api: Add user device status callback
By this commit user gets possibility to register USB
device satutus callback. This callback represents device state
and is added so user could know what happend to USB device.

Callback is registered by providing it to usb_enable()
USB api is extended by this callback handler.

Samples using using USB are by default provide no callback
and the usb_enable() is called with NULL parameter.

Status callback registered by hid class is deleted as now
USB device has global callback for all classes within device.

Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
2019-12-19 13:08:55 +01:00
..
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
function_ecm.c usb: Rename defines to match present naming convention 2019-12-09 12:48:13 -05:00
function_eem.c usb: sort usb config data by section 2019-06-27 12:18:05 +02:00
function_rndis.c usb: Rename defines to match present naming convention 2019-12-09 12:48:13 -05:00
function_rndis.h
Kconfig kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
netusb.c usb: api: Add user device status callback 2019-12-19 13:08:55 +01:00
netusb.h usb: netusb: rndis: Fix maximum RNDIS frame size 2019-03-21 09:01:36 -05:00