- UDP packet sent on a specific IP are always sent. Works fine.
- same UDP packet sent on broadcast IP (xx.xx.xx.255) are sent randomly...
Checked with WireShark
if(UDP_test_toggle == 1) then
UDP_test_toggle = 0
payload = "Number 1"
UDP_test_toggle = 1
payload = "Number 0"
local broadcast_IP = wifi.ap.getbroadcast()
tmr.alarm(0, 1000, 1, update)
Any idea ? I am really confused, because I made 4 UDP receiver boards and I am not able to make the sender one working !!! I think to use a workaround by coding directly in C on ESP07, but my fear is that the bug reside in Espressif API and so not working better...