Skip to content

Cannot list COM Ports #170

Open
Open
@nsiatras

Description

@nsiatras

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions