esp8266fcgui icon indicating copy to clipboard operation
esp8266fcgui copied to clipboard

Extremely slow performance when connected as a wifi client as opposed to being an AP

Open SandroGrzicic opened this issue 8 years ago • 1 comments

I'm not sure if this is an issue with the code, or a library, or my Wemos d1 mini pro wifi module, but when it's connected as a client on my wifi router, I can connect to my Betaflight board, but all configurator updates (e.g. the movement of the copter in the GUI) are super-slow, and even moving between pages is extremely slow. After 20-30 seconds, the whole GUI freezes and it's impossible to do anything. In fact, the only thing I can do is to go to the CLI immediately after reconnecting and then waiting 30-60 seconds for the currently executing MSP responses to finish being written to the CLI console (most notably the MSP_BOXNAMES responses), and then using the CLI only.

However, as soon as I have set up my module as an AP, the issues disappeared and I connected to the module via my phone, and the Betaflight Configurator then worked perfectly well, with no issues.

Sadly, I don't know yet what might be the problem - it looks like the module is overloaded when connected as a wifi client, but I don't know how to proceed with debugging this.

The router is a netgear N7000. My PC is connected to it via ethernet. There is very little to none wifi traffic on the network.

This is presumably not a high priority issue, as the main mode of operation for this module is to be an AP, but still it's worth at least knowing about it.

SandroGrzicic avatar Jan 02 '17 01:01 SandroGrzicic

maybe your local network is busy and if the ESP have to process and answer to other packets, you might see issues similar to what you are saying. Try turning off SSDP and/or mDNS and see if anything changes.

me-no-dev avatar Jan 02 '17 07:01 me-no-dev