Logic Machine Forum
Protobuf support - how to compile C library - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Protobuf support - how to compile C library (/showthread.php?tid=4100)



Protobuf support - how to compile C library - spyder - 19.06.2022

Hi,


To interact with a Zehnder ventilation unit, I would need to encode and decode a protobuf Zehnder protocol.

A LUA protobuf library exists for encoding and decoding, but it requires compilation of C module which seems to be compatible with LuaJIT.

How would I do this for LogicMachine with i.MX28 CPU?


Many thanks,

Kristof


RE: Protobuf support - how to compile C library - admin - 20.06.2022

Package for old CPU (iMX28):
https://dl.openrb.com/pkg/luaprotobuf_20220613-1_mxs.ipk

Package for new CPU (iMX6):
https://dl.openrb.com/pkg/luaprotobuf_20220613-1_imx6.ipk


RE: Protobuf support - how to compile C library - spyder - 21.06.2022

Thank you, it works!