During debugging from VSCode I noticed initial network setup took quite long. Turns out the while loop never exits, regardless of whether wifi connection succeeded or not. So I adjusted the while loop slightly to fix this issue. My ESP32 now always connects after first try. the 8 second delay can probably be reduced as well, although I did not test that as it wasn't within the scope of what I wanted to solve.
Tested on ESP32-WROVER. I expect this will work fine on ESP32-WROOM as well, although I have no idea about ESP8266.
I also had to disable merge_firmware.py on my local version as it would not build/deploy with that script. I don't know if this has any side-effects as I have no experience with this.
You can (and probably should) improve the filter further by really only filtering on the specific keys that are required for BLLed to function. Specifically the keys that are checked on in ParseCallback. If the current fix proves insufficient for ESP8266, improving the filter might fix it for that one
Tested on ESP32-WROVER. I expect this will work fine on ESP32-WROOM as well, although I have no idea about ESP8266.
I also had to disable merge_firmware.py on my local version as it would not build/deploy with that script. I don't know if this has any side-effects as I have no experience with this.
You can (and probably should) improve the filter further by really only filtering on the specific keys that are required for BLLed to function. Specifically the keys that are checked on in
ParseCallback
. If the current fix proves insufficient for ESP8266, improving the filter might fix it for that one