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

Updated NinjaBlockEthernet Library #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Updated NinjaBlockEthernet Library #2

wants to merge 1 commit into from

Conversation

samgregory
Copy link

I have included the changes I made to the NinjaBlockEthernet library that enable the keep alive Tick and support serialised JSON (needed to parse the Light protocol for example). Because serialised JSON results in long strings I had to increase the DATA_SIZE and DATA_LEN constants.

Known issue: Reading from the DATAString on a Tick will fail. You MUST check NinjaBlock.IsTick before trying to read data.

I don't use the NinjaBlockSerial library so it hasn't been updated.

…Ticks and to support serialised JSON (required for protocols) sent from the cloud.
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.

1 participant