As the title says... Chat on...

User avatar
By bblinky
#44512 Hey guys,

I'm currently trying to send this packet to my MCU but getting no output at all:
Code: Select all0000   ff ff ff ff ff ff 6c 62 6d 33 0f 77 08 00 45 00  ......lbm3.w..E.
0010   02 2e 5d 24 40 00 40 11 59 7f c0 a8 00 64 c0 a8  ..]$@.@.Y....d..
0020   00 67 19 36 19 36 02 1a c1 57 41 72 74 2d 4e 65  .g.6.6...WArt-Ne
0030   74 00 00 50 00 0e cb 00 00 00 02 00 00 00 00 00  t..P............
0040   00 74 51 9f 5e 66 93 00 00 aa a4 55 b0 b3 39 71  .tQ.^f.....U..9q
0050   6d 6c 00 6b 00 00 00 00 00 00 00 00 00 00 00 00  ml.k............
0060   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0070   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0080   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0090   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00a0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00b0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00c0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00d0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00e0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00f0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0100   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0110   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0120   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0130   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0140   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0150   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0160   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0170   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0180   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0190   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
01a0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
01b0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
01c0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
01d0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
01e0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
01f0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0200   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0210   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0220   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0230   00 00 00 00 00 00 00 00 00 00 00 00              ............

I would have attached a pcap, but that is not allowed....

This is my code:
Code: Select allport=6454
tmr.alarm(0, 1000, 1, function()
    if wifi.sta.getip() == nil then
        print("Waiting for IP...") 
    else
        print("IP:"..wifi.sta.getip()..", Port:"..port)
        tmr.stop(0)
    end
end)
srv=net.createServer(net.UDP)
srv:on("receive", function(srv, pl) print("ping\n"..pl) end)
srv:listen(port)


Any ideas as to why I'm not getting any feedback would be much appreciated :)