After the get_report() callback, we need to determine how many bytes the HID device wrote to the report buffer. Use the callback return value to do this, and modify the net_buf data length value if get_report was successful. Reported-by: Marek Pieta <Marek.Pieta@nordicsemi.no> Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| bt_hci.c | ||
| Kconfig | ||
| Kconfig.bt | ||
| Kconfig.cdc_acm | ||
| Kconfig.cdc_ecm | ||
| Kconfig.hid | ||
| Kconfig.loopback | ||
| Kconfig.msc | ||
| Kconfig.template.instances_count | ||
| Kconfig.uac2 | ||
| loopback.c | ||
| usbd_cdc_acm.c | ||
| usbd_cdc_ecm.c | ||
| usbd_hid_api.c | ||
| usbd_hid_internal.h | ||
| usbd_hid_macros.h | ||
| usbd_hid.c | ||
| usbd_msc_scsi.c | ||
| usbd_msc_scsi.h | ||
| usbd_msc.c | ||
| usbd_msc.ld | ||
| usbd_uac2_macros.h | ||
| usbd_uac2.c | ||