Hi Gurux team,
I am testing an optical probe/cable with Gurux.Serial.Android 3.0.6, which is the latest version I am currently using.
The same USB serial cable works correctly with Gurux.Serial.Java on my computer, but I am unable to get communication working with Gurux.Serial.Android.
Gurux version
Gurux.Serial.Android: 3.0.6
USB-Serial adapter details
Android detects the USB device successfully with the following information:
Manufacturer: QinHeng Electronics
Vendor ID: 0x1A86
Product: HL-340 USB-Serial adapter
Product ID: 0x7523
Version: 81.34
Chipset: CH34X
USB descriptor:
12 01 10 01 FF 00 00 08 86 1A 23 75 34 81 00 02
00 01 09 02 27 00 01 01 00 80 34 09 04 00 00 03
FF 01 02 00 07 05 82 02 20 00 00 07 05 02 02 20
00 00 07 05 81 03 08 00 01
The same HL-340 cable and optical probe work correctly with Gurux.Serial.Java on the desktop.
Therefore, I believe the cable/probe itself is functional, and the issue may be related to CH34X/HL-340 support or USB serial handling in Gurux.Serial.Android.
Question
Could you please confirm whether Gurux.Serial.Android 3.0.6 supports the CH340/CH34X device with VID 1A86 and PID 7523 (HL-340)?
If it is supported, could you advise what additional configuration or Android USB handling is required?
If there is a known limitation with the CH34X/HL-340 implementation in version 3.0.6, is there a recommended driver/library or code change that I should use?
I can provide the complete Android project, Android version/device model, Gurux configuration, and additional logs if required.
I have tried with your sample app which in project repo, but issue is that we are not receiving anything from device.
can share me some configuration what to changes required at device configuration etc.
Thank you.