Skip to content

Updated NinjaBlockEthernet Library#2

Open
samgregory wants to merge 1 commit intoninjablocks:masterfrom
samgregory:master
Open

Updated NinjaBlockEthernet Library#2
samgregory wants to merge 1 commit intoninjablocks:masterfrom
samgregory:master

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