khoih-prog / BlynkGSM_Manager

Simple GSM shield Manager for Blynk and ESP32 / ESP8266 boards, with or without SSL, configuration data saved in SPIFFS / EEPROM. This library enables user to include both Blynk GSM/GPRS and WiFi libraries in one sketch, run both WiFi and GSM/GPRS simultaneously, or select one to use at runtime after reboot.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I try already but it not reset after can not connect blynk

trieu94 opened this issue · comments

Start TTGO-TCALL-GSM
Set GSM module baud rate
Use WiFi to connect Blynk
[4436] RFC925 Hostname = TTGO-TCALL-GSM
[4442] Header = ESP32_GSM_WFM, SSID = ****, PW = ****
[4442] Server = ****.duckdns.org, Port = 8080, WiFi Token = ****
[4447] APN = internet, GPRS User =
[4450] GPRS PW = , GPRS PIN = , GSM Token = ****
[4457] Board Name = Esp sim wm
[4460] Header = ESP32_GSM_WFM, SSID = ****, PW = ****
[4465] Server = ****.duckdns.org, Port = 8080, WiFi Token = ****
[4474] APN = internet, GPRS User =
[4477] GPRS PW = , GPRS PIN = , GSM Token = ****
[4484] Board Name = Esp sim wm
[4486]
___ __ __
/ _ )/ /_ _____ / /__
/ _ / / // / _ / '/
/
//_, /////_
/
__/ v0.6.1 on ESP32

[4636] con2WF: start
[7138] con2WF: con OK
[7138] IP = 192.168.1.7, GW = 192.168.1.1, SN = 255.255.255.0
[7138] DNS1 = 203.113.188.1, DNS2 = 203.113.131.3
[7138] bg: WiFi connected. Try Blynk
[7142] Connecting to ****.duckdns.org:8080
[7407] Invalid auth token
[97142] Connecting to ****.duckdns.org:8080
[97518] Invalid auth token
[187142] Connecting to ****.duckdns.org:8080
[187427] Invalid auth token
Can help me this? it not reset after 30s

The easiest way now is to turn OFF momentarily the WiFi Router / AP, so that ESP32 can't connect to WiFi. It will then start the Config Portal. Then turn the router ON again after you enter the Config Portal.
I'll write a new function in next Version to clear saved data and autostart the Config Portal. You can have the option to call the function when a preset condition is met (button pressed, etc.).