Skip to content

Commit 78ee413

Browse files
committed
Added a note about multiple 'add' events
1 parent 3254493 commit 78ee413

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

RFCs/0002-pluggable-discovery.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ The `remove` event looks like the following:
200200

201201
the content is straightforward, in this case only the `address` field is reported.
202202

203+
If the information about a port needs to be updated the discovery may send a new `add` message for the same port address without sending a `remove` first: this means that all the previous information about the port must be discarded and replaced with the new one.
204+
203205
A demo tool is available here:
204206
[https://github.com/arduino/serial-discovery](https://github.com/arduino/serial-discovery#example-of-usage)
205207

0 commit comments

Comments
 (0)