Hi,
I am developing a USB host application using the TivaWare USB library. Unfortunately, I am trying to host a USB HID device that does not give a report descriptor when requested. This is fine, sinceI know what the descriptor should be, however the TivaWare USB library does not allow any devices that do not give report descriptors (it rejects them as "unknown" devices). I need to modify the library so that it does allow devices without report descriptors, but since many other projects of mine rely on this library, I cannot modify the library source code without affecting all of my other CCS projects. Is there a way to change the library function for this application without affecting the actual library source (like function overloading in C++)?
The problem is that in "TivaWare_C_Series-2.1.0.12573/usblib/host/hostenum.c", the function ProcessUSBDeviceStateMachine() will fail and issue an "USB_EVENT_UNKNOWN_DEVICE" event flag if the device does not provide a descriptor (line 4998 usbhostenum.c).
Summary: Is there a way to modify this state machine function without changing the TivaWare library, since many other projects of mine also use this USB library?
Thank you!
John