aster94 / GoProControl

Arduino library to interface with GoPro cameras
GNU General Public License v3.0
121 stars 21 forks source link

Unable to connect after reset ESP8266 #39

Closed tommy-b-10 closed 3 years ago

tommy-b-10 commented 3 years ago

Hi, I am having an issue similar to here

The camera and ESP connect together correctly, until the ESP is reset. It then fails on _wifi_client.connect(). To get the connection working again, the camera WiFi service must be restarted.

Is there any solution to this? I have tried disconnecting wifi and then restarting the ESP8266 but this was not successful.

Thanks!

Other similar issues: https://github.com/esp8266/Arduino/issues/5552 https://github.com/KonradIT/goprowifihack/issues/193

aster94 commented 3 years ago

I guess the problem is due to the wrong untethering when your esp resets, you have to avoid it programatically