so I would guess that the problem is in IOS
Yes, I thought the same at first. But then I tested Iphone to Iphone, Ipad to Iphone etc and found very low packet loss.
It seems (so I am told) that the Wifi module advertises a power saving mode that then fails to fully comply with, I dont know enough to prove this one way or the other but it does fit with the tests I have done. For example ESP8266 peered with the newer Android device also seems to suffer high packet loss, nothing apple in that equation.
I picked ESP8266 with Iphone4 as this has the highest packet loss, around 75% go missing !
If I program the Iphone to send a dummy UDP frame every few ms with calling recvfrom() then the packet loss rate drops back to almost zero. See "usehack" referemce in the UDP demo I made to argue with Apple.
http://www.jonshouse.co.uk/UDP-TESTS.tar.gz
Thanks,
JonStatistics: Posted by jonshouse — Fri Jul 17, 2015 2:31 am
]]>