File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
- These tools must be in the form of executables that can be launched as a subprocess using a ` platform.txt ` command line
2
- recipe. They communicate to the parent process via stdin/stdout, accepting commands as plain text strings from stdin and
3
- sending answers back in JSON format on stdout. Each tool will implement the commands to list and enumerate ports for a
4
- specific protocol as specified in this document.
1
+ Discovery tools are a special kind of tool used to find supported boards, a platform developer can create its own
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.
5
6
6
7
### Pluggable discovery API via stdin/stdout
7
8
@@ -148,7 +149,7 @@ Each port has:
148
149
- ` protocolLabel ` is the ` protocol ` in human readable form (for example ` Serial port ` or ` DFU USB ` or ` Network (ssh) ` )
149
150
- ` properties ` is a list of key/value pairs that represent information relative to the specific port
150
151
151
- To make the above more clear let' s show an example with the ` serial_discovery ` :
152
+ To make the above more clear let’ s show an example output from the ` serial-discovery ` builtin in the Arduino CLI :
152
153
153
154
``` JSON
154
155
{
You can’t perform that action at this time.
0 commit comments