Allow identification of a specific instance of a board from a Pluggable Discovery #2024
Closed
3 tasks done
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
Milestone
Describe the request
We can use the USB serial number to know that a board has changed COM port, for example after an upload, or when it swaps to bootloader mode after a double-tap on the reset button.
Currently the discovery returns this information:
we may extend the result by adding an extra field
hardwareId
that is populated when we have an hardware identification number available, for example for USB serial ports we can use the USB Serial Number:This change may require an update to the Pluggable Discovery specification.
Describe the current behavior
When a board changes the port after a reset, there is no reliable way to determine if the new port belongs to the same board.
With this proposal implemented the IDE may exploit the
hardwareId
field to reselect the correct port automatically.Arduino CLI version
6bf2c23
Operating system
N/A
Operating system version
N/A
Additional context
cc @pnndra @kittaakos @per1234 @umbynos
Issue checklist
The text was updated successfully, but these errors were encountered: