Skip to content

board list does not list virtual ports #505

Open
@kittaakos

Description

@kittaakos

Bug Report

I have copied the bug report from here:

I set up virtual ports on Windows with com0com and mapped COM5 to ARDUINO:
Screen Shot 2019-11-28 at 10 19 54

I can confirm, I can see the ports in the Java IDE:
Screen Shot 2019-11-28 at 10 19 38

And I can also confirm when I run the board list on the CLI, I cannot see the virtual ports. I think it is a CLI issue. What do you think @masci?

$ ./arduino-cli.exe board list
Port Type        Board Name FQBN Core
COM1 Serial Port Unknown
COM5 Serial Port Unknown
$ ./arduino-cli.exe board list --format json
[
  {
    "address": "COM1",
    "protocol": "serial",
    "protocol_label": "Serial Port"
  },
  {
    "address": "COM5",
    "protocol": "serial",
    "protocol_label": "Serial Port"
  }
]

Current behavior

The CLI does not return with the virtual ports.

Expected behavior

I can see the exact same port with the CLI as with the Java IDE.

Environment

  • CLI version (output of arduino-cli version):
  • OS and platform:

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions