@@ -128,7 +128,7 @@ The response to the command is:
128
128
``` JSON
129
129
{
130
130
"event" : " configure" ,
131
- "message" : " ok" ,
131
+ "message" : " ok"
132
132
}
133
133
```
134
134
@@ -155,13 +155,13 @@ tool as part of the `OPEN` command. The syntax of the `OPEN` command is:
155
155
` OPEN <CLIENT_TCPIP_ADDRESS> <BOARD_PORT> `
156
156
157
157
For example, let's suppose that the Client/IDE wants to communicate with the serial port ` /dev/ttyACM0 ` using an
158
- hypotetical ` serial-monitor ` tool, then the sequence of actions to perform will be the following:
158
+ hypothetical ` serial-monitor ` tool, then the sequence of actions to perform will be the following:
159
159
160
160
1 . the Client/IDE must first listen to a random TCP port (let's suppose it chose ` 32123 ` )
161
- 1 . the Client/IDE runs the ` serial-monitor ` tool and initialize it with the ` HELLO ` command
161
+ 1 . the Client/IDE runs the ` serial-monitor ` tool and initializes it with the ` HELLO ` command
162
162
1 . the Client/IDE sends the command ` OPEN 127.0.0.1:32123 /dev/ttyACM0 ` to the monitor tool
163
163
1 . the monitor tool opens ` /dev/ttyACM0 `
164
- 1 . the monitor tool connects via TCP/IP to ` 127.0.0.1:32123 ` and start streaming data back and forth
164
+ 1 . the monitor tool connects via TCP/IP to ` 127.0.0.1:32123 ` and starts streaming data back and forth
165
165
166
166
The answer to the ` OPEN ` command is:
167
167
@@ -186,7 +186,7 @@ other error condition happens:
186
186
The board port will be opened using the parameters previously set through the ` CONFIGURE ` command.
187
187
188
188
Once the port is opened, it may be unexpectedly closed at any time due to hardware failure, or because the Client/IDE
189
- closes the TCP/IP connection, etc. In this case an asynchronous ` port_closed ` message must be generated from the monitor
189
+ closes the TCP/IP connection, etc. In this case an asynchronous ` port_closed ` message must be generated by the monitor
190
190
tool:
191
191
192
192
``` JSON
@@ -238,7 +238,7 @@ The `QUIT` command terminates the monitor. The response to `QUIT` is:
238
238
}
239
239
```
240
240
241
- after this output the monitor exits. This command is supposed to always succeed.
241
+ after this output the monitor exits. This command must always succeed.
242
242
243
243
#### Invalid commands
244
244
0 commit comments