espressif / esp-iot-bridge

A smart bridge to make both ESP and the other MCU or smart device can access the Internet.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't open Web page on 192.168.4.1 (AEGHB-91)

x893 opened this issue · comments

commented

Hello
i use ESP32 with SDIO interface (not connected now to host).
Connect to ESP-Bridge AP from windows computer and receive 192.168.4.2 address.
Try open web page from 192.168.4.1 and see status
192.168.4.1 refused to connect.
Previous version esp-gateway open web page for wifi uplink settings.

How can i resolve it ?
Thanks
Mitek

What are the versions of IDF and ESP-Bridge (branch and commit id)
In addition, how many data_forwarding_netifs are open in total, is there only softap, please make sure to open the BRIDGE_USE_WEB_SERVER configuration.
In addition, if there is another network card or wired connection on the computer side, it is recommended to disconnect the other network card and try again.

commented

IDF 5.0 master
ESP-Bridge master
priv_src latest

CONFIG_BRIDGE_USE_WEB_SERVER=y
SDIO not connected to ESP32-WROVER, only one computer connect to bridge
ping 192.168.4.1 works from computer

Due to the particularity of the SDIO driver, SDIO needs to communicate with the MCU during initialization, otherwise it will be blocked. StartWebServer() is enabled after the SDIO netif is initialized and is not enabled, so the Web page cannot be accessed.
Do you have to configure the network first and then connect to SDIO?

commented

OK, i connect SDIO later. Now in progress connection to Zynq 7000 system. Initially i use SPI interface and Web start normally. Notify about results later.
Thanks
P.S. May be change software logic so StartWeb independs from SDIO interface. It may be more helpfull (if SDIO not works).

Hello, Any update about this?