Samir Hi Alef, 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.
Alef Do you mean that I may to write a binary module (library) in C++ and register it in LuaRT? OK, I will try...
Samir 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.