In Lada Ada's video (https://www.youtube.com/watch?v=VbZQR-9xfi8), about 9:40, this report is outputting a timestamp prefix to the actual usb data. Anyone have a clue where this timestamp originates?
There are 6 hex data fields output. Any clues to what each field represents and a map of the bits in the field?
most likely dumb questions, but I'm a noob in the USB Host world, so sorry for my ignorance.
hid_device_report.ino and the RP2040 USB Host
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Claude_J_Greengrass
- Posts: 79
- Joined: Sat Jul 24, 2021 10:53 am
- bbx10node
- Posts: 147
- Joined: Sun Feb 22, 2015 4:14 pm
Re: hid_device_report.ino and the RP2040 USB Host
The Arduino IDE serial console window has a checkbox to turn on timestamps. It is in the lower left corner next to the Auto Scroll option.
It is not possible to interpret the hex dump without knowing much more about the device. However, common devices such as mice and keyboards have well documented report formats.
https://wiki.osdev.org/USB_Human_Interface_Devices
For lots more USB info see https://beyondlogic.org/usbnutshell/usb1.shtml.This mostly for people who intend to dive deep into the USB code.
It is not possible to interpret the hex dump without knowing much more about the device. However, common devices such as mice and keyboards have well documented report formats.
https://wiki.osdev.org/USB_Human_Interface_Devices
For lots more USB info see https://beyondlogic.org/usbnutshell/usb1.shtml.This mostly for people who intend to dive deep into the USB code.
- Claude_J_Greengrass
- Posts: 79
- Joined: Sat Jul 24, 2021 10:53 am
Re: hid_device_report.ino and the RP2040 USB Host
I didn't know that about the Arduino IDE Serial Monitor. Thanks for the info
I'm using a mouse.
Thank you for the usb link. More info is better.
I'm using a mouse.
Thank you for the usb link. More info is better.
Please be positive and constructive with your questions and comments.