Good day to all.
Looking for some assistance, so here goes.
I have an USB Host Shield on an Uno. Ran the test apps on Oleg's site, and all responds OK. I have an Inverter/UPS that communicates via USB in Hex. When the unit is connected to host shield, I get all the identifier info OK. "Device descriptor: Descriptor Length: 12 Descriptor type: 01 USB version: 0110 Device class: 00 Device Subclass: 00 Device Protocol: 00 Max.packet size: 08 Vendor ID: 0665 Product ID: 5161 Revision ID: 0002 Mfg.string index: 03 Prod.string index: 01 Serial number index: 00 Number of conf.: 01" etc. etc.
I need to send Hex commands over the port to the device and listen for the response. In standard serial it seems pretty easy, with things like Serial.write and Serial.read.
After two weeks now of struggling I am asking for some direction. What commands do I use to communicate serially with the device? I have gone through a thousand samples, but none seems to do simple serial comms over USB.
Any assistance and/or samples would be greatly appreciated.