-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot list COM Ports #170
Comments
No. I assume rebooting the computer didn't fix it either? The native code is here: jssc/src/main/cpp/windows/jssc.cpp Lines 644 to 688 in 8dd99a4
|
Correct. We also formatted and re-installed windows with the same results
…On Tue, Aug 6, 2024, 9:06 PM Tres Finocchiaro ***@***.***> wrote:
Have you ever noticed this problem again ?
No. I assume rebooting the computer didn't fix it either?
The native code is here:
https://github.com/java-native/jssc/blob/8dd99a4e6a945b29db4709ffd4dcdf80770068de/src/main/cpp/windows/jssc.cpp#L644-L688
—
Reply to this email directly, view it on GitHub
<#170 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABN6V3VFBS2UDCHMUVSBEJTZQEGAXAVCNFSM6AAAAABMCYYCS6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZRHA2TMMJTGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Better Issue Description: After the drivers update we are not able to correctly list the COM ports of the computer using the Java jssc The serial communication with the device works correctly the only problem is that the COM port cannot be listed. |
@hiddenalpha has kindly provided a potential patch here: #171 can you test it? Here's a compile from my machine:
|
Hello, I get the following exception:
|
Sorry, the build is missing this dependency. I'll try to make a fat jar containing this... |
@nsiatras OK, this one should have the scijava dependencies included, can you please test? |
I just tested the snapshot. |
@nsiatras you may want to check that the driver parameter
and if it is - remove the key, then reboot the PC (or at least reconnect the device).
|
Hello, I reported this issue on the SiliconLabs forum and I just get the following reply: "*This behavior might be affected by some changes in the new VCP 11.4 driver. The Old VCP 11.3 will be back on the website for downloading. I will let you know if I have any updates on it. Again, Thanks for your information*" https://community.silabs.com/s/question/0D7Vm000003SrZ7KAK/detail?language=en_US PS. I have not edit the registry yet, in order to test again. I will do so later today |
Hello,
I am using
String[] serialPorts = SerialPortList.getPortNames();
to get a list of the COM ports of the computer.This method works correctly and always returns the available COM ports of the PC.
Today I tested my software on a Lenovo desktop computer running Windows 10 and the result was missing a Port.
The computer had an ESP32 Node MCU connected to COM11 but the result was missing that port. In fact the result was an array containing COM1. In COM1 there was an other USB device.
The ESP32 is connected correctly to the computer and I can send and receive data from it.
Have you ever noticed this problem again ?
PS. I have tested the software on multiple computers (desktops,laptops) including Windows, MacOS and Linux, even on Raspberry Pi and it works correctly
The text was updated successfully, but these errors were encountered: