This Is my script:
Clte=net.createConnection(net.udp)
Clte:on('receive', function(Clte, response) print(response) end)
Clte:send(string.char(01,02,03)) --original Message
Clte:connect(123,'192.168.1.3')
The esp8266 can send the Udp Message (original Message). But when the esp8266 receives the Message, the esp8266 prints an string that is different to the real Message that is sended to the esp8266. I can change the Message that is sended to esp8266, But the esp8266 always prints the same response.
Can anybody help me?