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

Support for Serial on Particle devices #60

Open
pkourany opened this issue May 27, 2015 · 3 comments
Open

Support for Serial on Particle devices #60

pkourany opened this issue May 27, 2015 · 3 comments

Comments

@pkourany
Copy link

VoodooSpark supports serial data functions but spark-io does not. Will you be adding this capability soon or are there specific barriers to doing so?

@rwaldron
Copy link
Owner

VoodooSpark supports serial data functions

These are only used for debugging when the spark is connected via USB.

spark-io does not. Will you be adding this capability soon or are there specific barriers to doing so?

I'm not sure what capability you're referring to? Do you want to be able to control the Spark core over USB? If that's the case, then you don't need to use an IO Plugin with Johnny-Five, just load firmata/spark onto the Core and connect as you would with an Arduino family board.

@pkourany
Copy link
Author

I am looking to be able to read/write on Serial1 through voodoospark (from node.js server) but spark-io does not support that I believe.

@rwaldron
Copy link
Owner

I am looking to be able to read/write on Serial1 through voodoospark (from node.js server) but spark-io does not support that I believe.

That's correct. Spark-IO implements an emerging standard for IO-Plugins, which doesn't currently specify a way to interact with Serial, because in many cases Serial is being used to communicate with the actual board. Any API specification added to IO Plugins must be defined in a way that will work for all of the platforms that are currently supported and hopefully for any new ones in the future. I'd be willing to implement some experimental features to get the ball rolling towards support for serial read/write. I'm at JSConf this week, but I'll start roughing out some ideas and report back as soon as I have something worth test driving—hopefull by Monday?

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

No branches or pull requests

2 participants