Chat freely about anything...

User avatar
By Vadim Mischuk
#68784 Hey, engineers. I am developing project, which contains esp8266, running Arduinish firmware. And now I am facing following issue: if I simulate slow network connection (by limiting bandwidth, delivered to the WiFi network in the router settings) and connect some heavy load (smartphone, playing video, for example) my firmware cant execute HTTP-query to server. As far, as I can understand function WiFiClientSecure.connect() fails, which means that TCP connection hasn't been established. This could cause potential problems, when these devices are delivered to end users: it is pretty hard to explain to customer that device fails because wireless network is limited in it's bandwidth. From other side device always stays connected to the AP and sends tiny requests to server approximately each 20 seconds, which doesn't requires huge bandwidth at all - from this point of view how can I ensure, that queries are executed?
By the way I force ESP to use 802.11G mode by call to WiFi.setPhyMode(WIFI_PHY_MODE_11G), because when ESP is allowed to work in N mode, it breaks some access points (that depends on router).