I am trying to use a USB optical probe where, in the media settings, the port shows as Prolific Technology, Inc with the following configuration: Baud rate 9600, Data bits 8, Parity None, Stop bits 1, and Chipset Prolific. However, when I click Read and Open in the Android application, I get the error Failed to open serial port. On Windows, the same setup works fine and data is fetched successfully, but it fails on Android.
Hi, Press the info button…
Hi,
Press the info button. What are the vendor ID and product ID values?
BR,
Mikko
Vendor:Prolific Technology…
Vendor:Prolific Technology,Inc.ID:67b
Product:null ID:23a3
Hi, This is tested with your…
Hi,
This is tested with your chipset, and it worked without problems.
Did you give the access rights when you connected the USB to Android device?
If it still fails, change the serial port version to 3.0.2. Select "Media Settings" and select correct serial port and press the Info button. What version number is the chipset using?
BR,
Mikko
I am using a USB optical…
I am using a USB optical probe with Prolific chipset. On Windows it works fine, but on Android I get "Failed to open serial port".
In your reply you mentioned:
"If it still fails, change the serial port version to 3.0.2."
I am not fully sure what you mean by "serial port version".
Do you mean that I should update the Gradle dependency version in my Android project?
Currently I am using:
guruxCommonAndroid = "2.0.2"
guruxSerialAndroid = "2.0.11"
guruxNetAndroid = "1.0.3"
guruxDlmsAndroid = "2.0.14"
Should I update only guruxSerialAndroid to 3.0.2, or should I also upgrade all Gurux Android libraries (guruxCommonAndroid, guruxNetAndroid, guruxDlmsAndroid) to the latest 3.x versions to keep them compatible?
Hi, You can't compare…
Hi,
You can't compare Windows and Android serial port handling. They are totally different.
Update your references:
guruxCommonAndroid = "3.0.4"
guruxSerialAndroid = "3.0.2"
guruxNetAndroid = "3.0.1"
BR,
Mikko
1. I am using a USB optical…
1. I am using a USB optical probe with a Prolific (PL2303) chipset but I get the error:
Failed to open serial port.
2. I saw in the forum that you suggested updating to:
guruxCommonAndroid = "3.0.4"
guruxSerialAndroid = "3.0.2"
guruxNetAndroid = "3.0.1"
I want to confirm:
Does Gurux Serial officially support Prolific (PL2303) cables on Android?
After changing dependencies to the above versions, my build fails with:
Execution failed for task ':UI:mergeDebugAndroidTestNativeLibs'.
> Could not resolve all files for configuration ':UI:debugAndroidTestRuntimeClasspath'.
> Could not find org.gurux:Gurux.Common.Android:3.0.4.
Required by:
project :UI
Hi, Our customers are using…
Hi,
Our customers are using PL2303 chipsets.
I don't know what version they are using.
You need to get the latest version or change Gurux.Common.Android to org.gurux:gurux.common.android
BR,
Mikko
Still with latest versions…
Still with latest versions
guruxCommonAndroid = "3.0.4"
guruxSerialAndroid = "3.0.2"
guruxNetAndroid = "3.0.1"
couldn't open the port
when I click Read and Open in the Android application, I get the error Failed to open serial port
Hi, I need the Prolific…
Hi,
I need the Prolific chipset version information.
If it still fails, change the serial port version to 3.0.2. Select "Media Settings" and select correct serial port and press the Info button. What version number is the chipset using?
BR,
Mikko
Vendor:Prolific Technology…
Vendor:Prolific Technology,Inc.ID:67b
Product:null ID:23a3
Hi, This looks like CadyCE…
Hi,
This looks like CadyCE USB to RS-232 converter, but the product name is null.
You haven't shared the firmware version. It's under the product field.
Add also the Raw descriptors value here so I can verify that.
BR,
Mikko