How can I organize communication with some peripheral device via a COM port?
There are no specific module for serial COM ports in LuaRT. You can use a Lua binary module like luaserial. I don't have tried to use sys.File objects but it may work.
Do you mean that I may to write a binary module (library) in C++ and register it in LuaRT?
OK, I will try...
Not necessary, Lua binary modules are compatible with LuaRT binary modules out of the box. Just be sure that the binary module is for Lua 5.4.
Powered by: FreeFlarum.(remove this footer)