-
-
Notifications
You must be signed in to change notification settings - Fork 390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
START_SYNC
errors after command sequence indicated by pluggable discovery specification
#1653
Comments
Actually the discovery it's working correctly, this is an error in the specification (I think it's a leftover from the RFC). The state machine here https://arduino.github.io/arduino-cli/dev/pluggable-discovery-specification/#state-machine shows the allowed state transitions and there is no direct transition from START to START_SYNC. |
Thanks for taking a look Cristian. I transferred the issue to the Arduino CLI repo since it is now clear that the defect must be corrected in this repository. |
We will also need to resolve the other instances of the error that propagated from the specification to the documentation of other projects:
I will propose that this be done by replacing the duplicate content in those repositories with a link to the Pluggable Discovery Specification document in order to avoid the need to maintain multiple copies. |
START_SYNC
errors after command sequence indicated by specificationSTART_SYNC
errors after command sequence indicated by pluggable discovery specification
EDIT: deleted this comment and started a new issue #1654. It's really a different issue than the minor specification wording disagreement between the START command and State Machine portion of the spec. |
Also, if you're updating the spec, please consider the wording "A well behaved pluggable discovery tool must reflect the following state machine". Perhaps the word "must" really applies to the client which communicates with the discovery tool. The client is the entity which "must" obey this state machine (eg, only transmit START_SYNC while in the "Idling" state). |
Describe the bug
From the Pluggable Discovery Specification:
https://arduino.github.io/arduino-cli/dev/pluggable-discovery-specification/#start-command
To me, this indicates that in order to execute a
START_SYNC
, I should run the following sequence of commands:HELLO
START
START_SYNC
🐛 The sequence of commands indicated by the specification results in an error from the
START_SYNC
command.To Reproduce
Expected behavior
Specification to be corrected if the behavior of the
github.com/arduino/pluggable-discovery-protocol-handler/v2
module is what is intended, which would entail one of the following:START
is required beforeSTART_SYNC
STOP
must be called beforeSTART_SYNC
-OR-
The
github.com/arduino/pluggable-discovery-protocol-handler/v2
module to support the command sequence indicated in the specification.Desktop
github.com/arduino/pluggable-discovery-protocol-handler/v2@a0d87f340f91cef6454ea0601f55d1119a5a8bb7
The text was updated successfully, but these errors were encountered: