File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11Discovery tools are a special kind of tool used to find supported boards, a platform developer can create its own
22following the specification below. These tools must be in the form of executables that can be launched as a subprocess
3- using a ` platform.txt ` command line recipe. They will communicate to the parent process via stdin/stdout, in particular
4- a discovery will accept commands as plain text strings from stdin and will send answers back in JSON format on stdout.
5- Each tool will implement the commands to list and enumerate ports for a specific protocol as specified in this document.
3+ using a ` platform.txt ` command line recipe. They communicate to the parent process via stdin/stdout, accepting commands
4+ as plain text strings from stdin and sending answers back in JSON format on stdout. Each tool will implement the
5+ commands to list and enumerate ports for a specific protocol as specified in this document.
66
77### Pluggable discovery API via stdin/stdout
88
@@ -149,7 +149,7 @@ Each port has:
149149- ` protocolLabel ` is the ` protocol ` in human readable form (for example ` Serial port ` or ` DFU USB ` or ` Network (ssh) ` )
150150- ` properties ` is a list of key/value pairs that represent information relative to the specific port
151151
152- To make the above more clear let’ s show an example output from the ` serial-discovery ` builtin in the Arduino CLI:
152+ To make the above more clear let' s show an example output from the ` serial-discovery ` builtin in the Arduino CLI:
153153
154154``` JSON
155155{
You can’t perform that action at this time.
0 commit comments