How about adding a method to change UART buffer sizes..
uart.set_buffer( id, bufsize ) eLUA supports change
I need large Rx and small Tx.
I did not have a problem until I started using several REQUIRE's
which now causes serial Rx data loss < 256 is ok > 256 flaky
was using 38400 baud , have dropped back to 9600 which helps, but does not fix.
function c_server()
do_next = nocode -- timewaste
uart.on("data", "\n",uartRX,0)
sv=net.createServer(net.TCP, 30)
sv:listen(80,function(c)
c:on("sent", Send80)
c:on("receive", Rcv80)
end)
end