File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
Discovery tools are a special kind of tool used to find supported boards, a platform developer can create its own
2
2
following 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.
6
6
7
7
### Pluggable discovery API via stdin/stdout
8
8
@@ -149,7 +149,7 @@ Each port has:
149
149
- ` protocolLabel ` is the ` protocol ` in human readable form (for example ` Serial port ` or ` DFU USB ` or ` Network (ssh) ` )
150
150
- ` properties ` is a list of key/value pairs that represent information relative to the specific port
151
151
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:
153
153
154
154
``` JSON
155
155
{
You can’t perform that action at this time.
0 commit comments