Skip to content

network boards not shown in board selector dropdown #1327

Closed
@kittaakos

Description

@kittaakos

Describe the problem

@ubidefeo reported:

won’t show in the board select menu but it shows in the menu and in the “show all ports”

CleanShot 2022-08-16 at 12 07 40@2x

To reproduce

I have neither the exact steps nor a board, but I have the JSON produced by the CLI when attaching/detaching the board.

ino-cli board list -w --format json:

{
  "type": "add",
  "address": "/dev/cu.Bluetooth-Incoming-Port",
  "protocol": "serial",
  "protocol_label": "Serial Port"
}
{
  "type": "add",
  "address": "/dev/cu.usbmodem03",
  "protocol": "serial",
  "protocol_label": "Serial Port (USB)"
}
{
  "type": "add",
  "address": "10.0.1.25",
  "protocol": "network",
  "protocol_label": "Network Port"
}

Detach:

{
  "type": "remove",
  "address": "/dev/cu.usbmodem03",
  "protocol": "serial"
}
{
  "type": "remove",
  "address": "10.0.1.25",
  "protocol": "network",
  "protocol_label": "Network Port"
}

Attach:

{
  "type": "add",
  "address": "/dev/cu.usbmodem03",
  "protocol": "serial",
  "protocol_label": "Serial Port (USB)"
}
{
  "type": "add",
  "address": "10.0.1.25",
  "protocol": "network",
  "protocol_label": "Network Port"
}

Expected behavior

The network board shows up in the board select dropdown.

Arduino IDE version

Version: 2.0.0-rc9.2-nightly-20220816 Date: 2022-08-16T03:34:58.538Z CLI Version: git-snapshot [6e007379] Copyright © 2022 Arduino SA

Operating system

macOS

Operating system version

12.3.1

Additional context

Related: arduino/mdns-discovery#25

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions