Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have been improving a Ruby gem that I think would be useful for building web connected sensor applications (IoT stuff) in a hurry.

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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: