These are chat archives for esp8266/Arduino

22nd
Sep 2017
Me No Dev
@me-no-dev
Sep 22 2017 06:14
@bryceschober I was not aware of such limitation
Bryce Schober
@bryceschober
Sep 22 2017 14:00
@me-no-dev : I spent a whole bunch of time characterizing the UDP Tx performance of ESP8266 in SoftAP mode, and for some reason broadcasts are essentially limited to a 25 millisecond packet rate, resulting in an effective bandwidth limit of ~58kBps. Unicast transmissions have no such limit, and I've hit a soft limit of around 2.5 MBps.
Which I achieved using your ESPAsyncUDP lib... I could only reach about ~500kBps with the default library.
Me No Dev
@me-no-dev
Sep 22 2017 18:15
So SoftAP Async Multicast is 25ms?
Rather disturbing :smile:
Bryce Schober
@bryceschober
Sep 22 2017 18:54
SoftAP Async UDP Broadcast (not multicast) is limited to packets every 25ms. Try to send more than that, of any size and it will get dropped.
Bryce Schober
@bryceschober
Sep 22 2017 19:08
50x slower is quite a penalty for using broadcast instead of unicast. Is there some fundamental difference in the WiFi stack between unicast and broadcast?