ESP8266 Developer Zone The Official ESP8266 Forum 2020-02-28T10:19:24+08:00 https://bbs.espressif.com:443/feed.php?f=66&t=54487 2020-02-28T10:19:24+08:00 2020-02-28T10:19:24+08:00 https://bbs.espressif.com:443/viewtopic.php?t=54487&p=73868#p73868 <![CDATA[Re: UDP broadcast (sent callback not getting called)]]> 2. Maybe you can try with the latest version of RTOS. https://github.com/espressif/ESP8266_RT ... ls/sockets

Statistics: Posted by Her Mary — Fri Feb 28, 2020 10:19 am


]]>
2020-02-01T00:34:48+08:00 2020-02-01T00:34:48+08:00 https://bbs.espressif.com:443/viewtopic.php?t=54487&p=72916#p72916 <![CDATA[UDP broadcast (sent callback not getting called)]]>
The esp8266 boards are close to each other so signal strength should not be an issue.

1]I am getting a large number of udp packets that are not being transmitted(90%). I am sending a packet every 300mS.
This is verified by what is received by the second esp8266 and also via a monitoring app on an ipad.

2)I do not get a call back when the packets are sent despite registering the callback. The receive callback does function.

Please can you advise if this is a bug in the RTOS firmware that I am using.
If not, can you advise how to debug this.
I have included the printout from the bootup sequence which shows the firmware and hardware versions.


Regards
Richard


ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 30460, room 16
tail 12
chksum 0xef
ho 0 tail 12 room 4
load 0x3ffe8000, len 1976, room 12
tail 12
chksum 0x61
ho 0 tail 12 room 4
load 0x3ffe87b8, len 2028, room 12
tail 0
chksum 0xfb
csum 0xfb
V2
Mo
OS SDK ver: 2.0.0(5d55574) compiled @ Oct 22 2019 16:02:05
phy ver: 1056_9, pp ver: 10.7

rf cal sector: 1019
idle_task_hdl : 40107b38,prio:0, stack:384
tim_task_hdl : 40107c80, prio:2,stack:512

====SDK version:2.0.0(5d55574)
====Mem Info:
data : 0x3ffe8000 ~ 0x3ffe87b6, len: 1974
rodata: 0x3ffe87b8 ~ 0x3ffe8fa4, len: 2028
bss : 0x3ffe8fa8 ~ 0x3ffefa10, len: 27240
heap : 0x3ffefa10 ~ 0x40000000, len: 67056
====Free heap size:70200
====Chip ID:1577059
====VDD3.3:65535

====system_get_cpu_freq 80MHz

EspMsgMutex created
wifi station disconnect ...... fail 0
ssid = TIMING_AP
IP Address: 192.168.5.1
Subnet mask: 255.255.255.0
Gateway: 192.168.5.1

mode : softAP(de:4f:22:18:10:63)
dhcp server start:(ip:192.168.5.1,mask:255.255.255.0,gw:192.168.5.1)
add if1
bcn 100

add 1
aid 1
station: 18:fe:34:da:80:b7 join, AID = 1
Station[1]: 18:fe:34:da:80:b7 join, AID = 1, 255

Statistics: Posted by Richard — Sat Feb 01, 2020 12:34 am


]]>