greenbreakfast 634b101c64 open sourcing oboo software packages repo | %!s(int64=4) %!d(string=hai) anos | |
---|---|---|
.. | ||
examples | %!s(int64=4) %!d(string=hai) anos | |
README.md | %!s(int64=4) %!d(string=hai) anos | |
keywords.txt | %!s(int64=4) %!d(string=hai) anos | |
library.properties | %!s(int64=4) %!d(string=hai) anos | |
msgpck.cpp | %!s(int64=4) %!d(string=hai) anos | |
msgpck.h | %!s(int64=4) %!d(string=hai) anos |
This Arduino library provides a light weight serializer and parser for messagepack.
Download the zip, and import it with your Arduino IDE: Sketch>Include Library>Add .zip library
See the either the .h
file, or the examples (led_controller
and test_uno_writer
).
In short:
msgpck_what_next(Stream * s);
watch the next type of data without reading it (without advancing the buffer of Stream s
).msgpck_read_bool(Stream * s, bool *b)
read a value from Stream s
.msgpck_write_bool(Stream * s, bool b)
write a value on Stream s
.Notes:
Currently the library does not support: