Description
Describe the request
As described here, the hardware_id
was introduced as a workaround to help CLI consumers to detect a potential port change during the upload.
Once the feature is available and the CLI can provide the new port (if it has changed) after the upload, I propose eliminating the
hardwareId
from the gRPC API before the 1.0 release. I do not see why this should be exposed to the public. See the downstream change at arduino/arduino-ide#1913:From here:
This PR has been created to support the "auto-reconnecting" to a board in DFU mode, which the R4 Minima goes into during upload and reset. The primary motivation was to make IDE2 compatible with the Uno R4 board.
Related API:
arduino-cli/rpc/cc/arduino/cli/commands/v1/port.proto
Lines 34 to 35 in 62bb4c4
I can open a separate issue if it's needed.
Describe the current behavior
The Port#hardware_id
is exposed.
Arduino CLI version
Operating system
macOS
Operating system version
13.5
Additional context
Follow-up of #2245.
Issue checklist
- I searched for previous requests in the issue tracker
- I verified the feature was still missing when using the nightly build
- My request contains all necessary details