The tool implements a serialisation spec called The Blink Protocol. The spec is similar to Google Protobufs with a few differences, mainly:
- It's more compact on the wire (important for LPWAN)
- It's minimalistic and has a proper specification document
The gem implements a schema parser, a dynamic message class generator, and an extensible codec generator.
The idea is you can use the tool for both ends of your application:
- Use the codec generator to generate C source for your device
- Use the dynamic message class in your web app to consume messages
On the Ruby side it should be as easy to use as JSON.
https://github.com/cjhdev/slow_blink
The tool implements a serialisation spec called The Blink Protocol. The spec is similar to Google Protobufs with a few differences, mainly:
- It's more compact on the wire (important for LPWAN)
- It's minimalistic and has a proper specification document
The gem implements a schema parser, a dynamic message class generator, and an extensible codec generator.
The idea is you can use the tool for both ends of your application:
- Use the codec generator to generate C source for your device
- Use the dynamic message class in your web app to consume messages
On the Ruby side it should be as easy to use as JSON.
https://github.com/cjhdev/slow_blink