greenbreakfast 634b101c64 open sourcing oboo software packages repo | il y a 4 ans | |
---|---|---|
.. | ||
examples | il y a 4 ans | |
README.md | il y a 4 ans | |
keywords.txt | il y a 4 ans | |
library.properties | il y a 4 ans | |
msgpck.cpp | il y a 4 ans | |
msgpck.h | il y a 4 ans |
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: