-
-
Notifications
You must be signed in to change notification settings - Fork 435
Network available devices (ESP*, MKR) are only listed with IP. label
should be visible from the mdns-discovery
#567
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
Comments
Closing this issue as we won't do it. Recent versions of the After arduino/mdns-discovery#23 is merged unsupported ports won't be shown anymore in the IDE. |
I am not sure why you will not do it, given that you need to only change which property of the |
Hi @me-no-dev. I didn't see any mention of unsupported boards here. "Unsupported ports" is in reference to random consumer devices (e.g., network connected printers) that were being discovered incidentally and cluttering the "ports" listing. The reason that is relevant is that it is more difficult for a user to find the correct port when there are additional irrelevant items in the listing. There is no intention to filter the ports of 3rd party Arduino boards, and in fact Arduino has done a lot of work lately creating a general purpose pluggable discovery system which will allow boards platform developers (both Arduino's and 3rd party) to make their hardware discoverable by the Arduino development software via any communication channel. |
Hi @per1234 . I am commenting more or less on the issue's title and then the declination comment sounded like it will drop the above mentioned boards (which are good Arduino boards). I've been digging into the IDE and CLI the last few days in order to prepare ESP32-Arduino for the new features. The new discovery is what I am spending most time on. An issue I found can be seen here. |
I am convinced we should display a combination of label and IP, but the issue is that the ArduinoOTA library will default to We should resort to displaying the value of {
"eventType": "add",
"port": {
"address": "192.168.1.10",
"label": "MyMKR_wifi_1010 at 192.168.1.10",
"protocol": "network",
"protocolLabel": "Network Port",
"properties": {
".": "arduino",
"auth_upload": "yes",
"board": "arduino",
"hostname": "Peppe.local.",
"port": "65280",
"ssh_upload": "no",
"tcp_check": "no"
}
}
} Conforming to the Discovery Protocol specifications.
and get the correctly formatted label as seen above. I will assign this issue to @AlbyIanna to get it fixed and move on. |
Unfortunately, the IDE2 does not receive this information from the CLI. Although the See #1331 (comment) I update the issue title to reflect that the |
label
should be visible from the mdns-discovery
Describe the bug
When deploying more than a single Local OTA enabled board, the
mdns-discovery
finds as many as available, and exposes the correct fields, but thelabel
field is not transferred to / used by the IDE, hence listing the board as just an IP.Once the board type is manually selected, it become associated.
(this connection seems to also be hard to break, needs investigation)
sample output of
mdns-discovery
for an ESP32 and a MKR1000the last item is a MKR WiFi 1010 which as per the
ArduinoOTA
library (3rd party) returnsarduino
as a generic fallback, rendering the CLI unable to reverse-identify the board based on theboard
filed inboards.txt
To Reproduce
hostname
Expected behavior
the
label
field returned by the Discovery should be used in place ofaddress
Screenshots
IDE 1.8.16:
IDE 2.0 beta 12:
Desktop
Additional context
The text was updated successfully, but these errors were encountered: