Open lou-lan opened 5 years ago
I too faced this issue sometimes with ios.
error -13 is lwIP-v2's connection aborted
.
We'd need to reproduce this error.
@arihantdaga sometimes it works ?
@lou-lan would you be able to provide a tcpdump or wireshark capture of the traffic during this error (or @arihantdaga) ?
@d-a-v It works most of the time. Few of my clients said that it did not work in their iphones and they sent similar screenshots and while talking to them they explained the same. Currently i don't have tcpdump, but i'll try to reproduce it in my place and gather logs this time.
@d-a-v I don't have tcpdump for iOS
system, but I can provide operating video and code. Is it possible that the ios system detects the security of softap?
Best is to run tcpdump on your router if you can, or use the integrated packet capture/dump facility directly in the esp8266 (#6518 not merged yet, or the old simple NetDump)
What version of IOS ? 17C5046a might have fixes for this
In my case, the problem seems to be related with adc reads. If we read adc in every loop, then its affecting the wifi performance. Related to https://arduino.stackexchange.com/questions/19787/esp8266-analog-read-interferes-with-wifi
----------------------------- Delete below -----------------------------
If your issue is a general question, starts similar to "How do I..", is related to 3rd party libs, or is related to hardware, please discuss at a community forum like esp8266.com.
INSTRUCTIONS
If you do not follow these instructions, your issue may be dismissed.
https://arduino-esp8266.readthedocs.io/en/latest/Troubleshooting/stack_dump.html
https://arduino-esp8266.readthedocs.io/en/latest/Troubleshooting/debugging.html
----------------------------- Delete above -----------------------------
Basic Infos
Platform
Settings in IDE
Problem Description
Iphone connection softap has been waiting for a long time, arduino firmware doesn't work well. Nodemcu firmware can work.
MCVE Sketch
Debug Messages