loboris / MicroPython_ESP32_psRAM_LoBo

MicroPython for ESP32 with psRAM support
Other
819 stars 342 forks source link

GSM and WiFi #328

Open webfrank opened 3 years ago

webfrank commented 3 years ago

Hi, I was trying to use both GSM (GPRS) and WiFi in the same sketch. I've a routine which will check if WiFi is connected and internet is reacheable and if not I'll use GPRS to send a notification. This works. The problem arise when I want to re-check using WiFi, after GPRS.disconnect(), althought WiFi is connected is not possible to navigate, server is unreachable.

I tried to reset WiFi, reset IP/DNS for WiFi but after using GPRS there is no way to use WiFi again.

premudeshi commented 1 year ago

Hi, I was wondering if you were ever able to figure out how to use both in the same sketch.