I'm trying to use the USB host shield (https://store.arduino.cc/usa/arduino-usb-host-shield) to talk to the Uniden Bearcat BC125AT.
I've used a serial port terminal to talk to the scanner, so I know the serial configuration (8n1 at 115200).
Then I moved to trying to get a connection using the host shield and and USB host shield library (https://github.com/felis/USB_Host_Shield_2.0).
I got the USB host shield to see the scanner, so I know the hardware is working and the library is talking to the host chipset.
So far I've had no success getting the the comms to work.
I've dumped the details of the scanner, as returned by the USB host, I'll add it below.
Any help would be greatly appreciated!
01
--
String Descriptors:
Manufacturer: Uniden America Corp.
Product: BC125AT
Serial: 0001
Device descriptor:
Descriptor Length: 12
Descriptor type: 01
USB version: 0200
Device class: 02
Device Subclass: 00
Device Protocol: 00
Max.packet size: 40
Vendor ID: 1965
Product ID: 0017
Revision ID: 0001
Mfg.string index: 01
Prod.string index: 02
Serial number index: 03
Number of conf.: 01
Configuration descriptor:
Total length: 0030
Num.intf: 02
Conf.value: 01
Conf.string: 00
Attr.: 80
Max.pwr: FA
Interface descriptor:
Intf.number: 00
Alt.: 00
Endpoints: 01
Intf. Class: 02
Intf. Subclass: 02
Intf. Protocol: 00
Intf.string: 00
Endpoint descriptor:
Endpoint address: 87
Attr.: 03
Max.pkt size: 0008
Polling interval: 0A
Interface descriptor:
Intf.number: 01
Alt.: 00
Endpoints: 02
Intf. Class: 0A
Intf. Subclass: 00
Intf. Protocol: 00
Intf.string: 00
Endpoint descriptor:
Endpoint address: 81
Attr.: 02
Max.pkt size: 0040
Polling interval: 00
Endpoint descriptor:
Endpoint address: 02
Attr.: 02
Max.pkt size: 0040
Polling interval: 00
Addr:1(0.0.1)