M0ebius wrote:@alexhi:
I've tried your script and the udp send ("srv:send(data)") does not work here (NodeMCU 0.9.5 build 20150124)
To send a udp message a had to do:Code: Select allc=net.createConnection(net.UDP, 0)
c:connect(8008,"192.168.4.255")
uart.on("data",0,function(data)c:send(data)end, 0)
Did i do something wrong, or is srv:send not working anymore?
I have not tested it build 20150124 , but I think it should work. You are testing the network 192.168.4.XXX ?