tidbyt / hdk

A community supported firmware for the Tidbyt hardware 🤓
https://tidbyt.com
Apache License 2.0
49 stars 12 forks source link

wifi connection loss #12

Open GITHUB-139 opened 2 months ago

GITHUB-139 commented 2 months ago

Need assistance fixing wifo connection, when the dhcp lease expires (my default my leases expire in 2 hours, the hdk firmware will stop all responsiveness, and will not ask / get renewed lease. I attempted to add esp_restart() between lines 51 & 52 in main.c so it would just restart, well the restart workes but it appears that dont gie enought time to allow wifi to get new connection either. So request to correct main.c to properlly test wifi still connected and url reachable if not after say 30 seconds, reset wili and reconnect. I see many example sin google searches but all the exampkes i find are for IDE so the defines and contructs not want as IDE your using, and I dont know the language to convert their example to the source your codes in. power recycling is really not a good soultion to the wifi reseting, Someone please help...