Skip to content
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

Serial 2.0 proposal #71

Merged
merged 4 commits into from
Jan 16, 2017
Merged

Serial 2.0 proposal #71

merged 4 commits into from
Jan 16, 2017

Conversation

soundanalogous
Copy link
Member

Replaces Serial 1.0 and uses a new command ID to maintain backwards compatibility. Serial 1.0 will be deprecated.

The short story on this change is that I really messed up the first version of Serial, limiting scalability and worst of all potentially propagating a pattern of using command IDs in a way that I don't want propagated in new feature proposals. Each new feature should use a full byte for the command ID and never OR any additional data into that byte.

I think most Firmata clients that have implemented the Serial feature should be able to implement this new version without breaking their existing APIs.

@soundanalogous soundanalogous mentioned this pull request Nov 7, 2016
@soundanalogous soundanalogous added this to the v2.6 milestone Nov 7, 2016
@dtex
Copy link
Contributor

dtex commented Jan 2, 2017

How does this PR relate to #79 ? Should the two be merged or this one closed maybe?

@soundanalogous
Copy link
Member Author

It doesn't relate. This is for a breaking change to Serial, whereas #79 is for Stepper 2.0.

@dtex
Copy link
Contributor

dtex commented Jan 2, 2017

Ah, misread the title... Never mind.

@soundanalogous soundanalogous merged commit 1c930a5 into master Jan 16, 2017
@soundanalogous soundanalogous deleted the serial-2 branch January 16, 2017 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants