Im using these files
NodeMCU custom build by frightanic.com
build built on: 2016-04-13 11:14
powered by Lua 5.1.4 on SDK 1.4.0
The code I use is
uart.on("data", 0, function(data)
According to the spec the bytes in buffer should be transmitted ie if there is 10 its sent but it does not do that. If I change the value to the value of bytes I expect then it fine. Cannot make it 100 because variable data beiing send and received.