esp-idf icon indicating copy to clipboard operation
esp-idf copied to clipboard

examples/network/sta2eth doesn't connect (IDFGH-12402)

Open owenthewizard opened this issue 1 year ago • 3 comments

Answers checklist.

  • [X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • [X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • [X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

v5.2.1-192-g7e36e97467

Espressif SoC revision.

ESP32-D0WD (revision v1.0)

Operating System used.

Linux

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

None

Development Kit.

WT32-ETH01 V1.2

Power Supply used.

USB

What is the expected behavior?

I expect the SSID and password submitted via HTTP (http://wifi.settings) to be used to connect to the access point.

I (10301) NCM_configuration: Found URL query => ssid=My+Real+Wifi&password=my+spaced+password
I (10311) NCM_configuration: ssid=My+Real+Wifi
I (10311) NCM_configuration: password=my+spaced+password
I (10321) NCM_configuration: WiFi settings accepted!

What is the actual behavior?

I (5375) example_sta2wired: Wi-Fi STA disconnected
I (7785) example_sta2wired: Wi-Fi STA disconnected
I (10205) example_sta2wired: Wi-Fi STA disconnected
E (10555) example_sta2wired: WiFi station connected failed

Steps to reproduce.

  1. Build and flash examples/network/sta2eth
  2. Connect to Ethernet on host (e.g. laptop), navigate to http://wifi.settings
  3. Input the SSID and password fo your AP.
  4. ESP32 reboots as expected but does not connect.

Debug Logs.

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:5940
load:0x40078000,len:15100
load:0x40080400,len:4
load:0x40080404,len:3492
entry 0x400805d0
I (224) cpu_start: Multicore app
I (233) cpu_start: Pro cpu start user code
I (233) cpu_start: cpu freq: 160000000 Hz
I (233) cpu_start: Application information:
I (236) cpu_start: Project name:     sta_to_eth
I (241) cpu_start: App version:      1
I (245) cpu_start: Compile time:     Mar 20 2024 16:43:30
I (251) cpu_start: ELF file SHA256:  eaa60c50b...
I (257) cpu_start: ESP-IDF:          HEAD-HASH-NOTFOUND
I (263) cpu_start: Min chip rev:     v0.0
I (267) cpu_start: Max chip rev:     v3.99 
I (272) cpu_start: Chip rev:         v1.0
I (277) heap_init: Initializing. RAM available for dynamic allocation:
I (284) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (290) heap_init: At 3FFB7D68 len 00028298 (160 KiB): DRAM
I (296) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (303) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (309) heap_init: At 400969CC len 00009634 (37 KiB): IRAM
I (317) spi_flash: detected chip: generic
I (320) spi_flash: flash io: dio
I (325) main_task: Started on CPU0
I (335) main_task: Calling app_main()
I (365) wifi:wifi driver task: 3ffbe218, prio:23, stack:6656, core=0
I (375) wifi:wifi firmware version: a9f5b59
I (375) wifi:wifi certification version: v7.0
I (375) wifi:config NVS flash: enabled
I (375) wifi:config nano formating: disabled
I (385) wifi:Init data frame dynamic rx buffer num: 32
I (385) wifi:Init static rx mgmt buffer num: 5
I (395) wifi:Init management short buffer num: 32
I (395) wifi:Init dynamic tx buffer num: 32
I (405) wifi:Init static rx buffer size: 1600
I (405) wifi:Init static rx buffer num: 10
I (405) wifi:Init dynamic rx buffer num: 32
I (415) wifi_init: rx ba win: 6
I (415) wifi_init: tcpip mbox: 32
I (425) wifi_init: udp mbox: 6
I (425) wifi_init: tcp mbox: 6
I (425) wifi_init: tcp tx win: 5760
I (435) wifi_init: tcp rx win: 5760
I (435) wifi_init: tcp mss: 1440
I (445) wifi_init: WiFi IRAM OP enabled
I (445) wifi_init: WiFi RX IRAM OP enabled
I (455) gpio: GPIO[2]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 
I (455) example_sta2wired: Starting provisioning
I (495) esp_eth.netif.netif_glue: 7c:87:ce:44:a9:ab
I (495) esp_eth.netif.netif_glue: ethernet attached to netif
I (2195) example_wired_ethernet: Ethernet Started
I (2195) NCM_configuration: Starting server on port: '80'
I (2195) example_wired_ethernet: Ethernet Link Up
I (2195) example_wired_ethernet: Ethernet HW Addr 7c:87:ce:44:a9:ab
I (2205) NCM_configuration: Registering URI handlers
I (2205) example_dns_redirect_server: Socket created
I (2215) example_dns_redirect_server: Socket bound, port 53
I (2225) example_dns_redirect_server: Waiting for data
I (3375) esp_netif_lwip: DHCP server assigned IP to a client, IP is: 192.168.4.2
I (3795) example_dns_redirect_server: Received 47 bytes from 192.168.4.2 | DNS reply with len: 63
I (3795) example_dns_redirect_server: Waiting for data
I (3805) example_dns_redirect_server: Received 47 bytes from 192.168.4.2 | DNS reply with len: 63
I (3815) example_dns_redirect_server: Waiting for data
I (3815) example_dns_redirect_server: Received 47 bytes from 192.168.4.2 | DNS reply with len: 63
I (3825) example_dns_redirect_server: Waiting for data
I (3835) example_dns_redirect_server: Received 47 bytes from 192.168.4.2 | DNS reply with len: 63
I (3845) example_dns_redirect_server: Waiting for data
I (3845) example_dns_redirect_server: Received 47 bytes from 192.168.4.2 | DNS reply with len: 63
I (3855) example_dns_redirect_server: Waiting for data
I (3865) example_dns_redirect_server: Received 47 bytes from 192.168.4.2 | DNS reply with len: 63
I (3875) example_dns_redirect_server: Waiting for data
I (3875) example_dns_redirect_server: Received 47 bytes from 192.168.4.2 | DNS reply with len: 63
I (3885) example_dns_redirect_server: Waiting for data
I (4375) example_dns_redirect_server: Received 31 bytes from 192.168.4.2 | DNS reply with len: 47
I (4375) example_dns_redirect_server: Waiting for data
I (4385) example_dns_redirect_server: Received 31 bytes from 192.168.4.2 | DNS reply with len: 47
I (4395) example_dns_redirect_server: Waiting for data
I (4395) example_dns_redirect_server: Received 31 bytes from 192.168.4.2 | DNS reply with len: 47
I (4405) example_dns_redirect_server: Waiting for data
I (4415) example_dns_redirect_server: Received 31 bytes from 192.168.4.2 | DNS reply with len: 47
I (4425) example_dns_redirect_server: Waiting for data
I (4425) example_dns_redirect_server: Received 29 bytes from 192.168.4.2 | DNS reply with len: 45
I (4435) example_dns_redirect_server: Waiting for data
I (4445) example_dns_redirect_server: Received 29 bytes from 192.168.4.2 | DNS reply with len: 45
I (4455) example_dns_redirect_server: Waiting for data
I (4455) example_dns_redirect_server: Received 29 bytes from 192.168.4.2 | DNS reply with len: 45
I (4465) example_dns_redirect_server: Waiting for data
I (4475) example_dns_redirect_server: Received 42 bytes from 192.168.4.2 | DNS reply with len: 58
I (4485) example_dns_redirect_server: Waiting for data
I (4495) example_dns_redirect_server: Received 31 bytes from 192.168.4.2 | DNS reply with len: 47
I (4505) example_dns_redirect_server: Waiting for data
I (4505) example_dns_redirect_server: Received 31 bytes from 192.168.4.2 | DNS reply with len: 47
I (4515) example_dns_redirect_server: Waiting for data
I (4525) example_dns_redirect_server: Received 29 bytes from 192.168.4.2 | DNS reply with len: 45
I (4535) example_dns_redirect_server: Waiting for data
I (4535) example_dns_redirect_server: Received 29 bytes from 192.168.4.2 | DNS reply with len: 45
I (4545) example_dns_redirect_server: Waiting for data
I (4555) example_dns_redirect_server: Received 29 bytes from 192.168.4.2 | DNS reply with len: 45
I (4565) example_dns_redirect_server: Waiting for data
I (4565) example_dns_redirect_server: Received 42 bytes from 192.168.4.2 | DNS reply with len: 58
I (4575) example_dns_redirect_server: Waiting for data
I (4785) example_dns_redirect_server: Received 47 bytes from 192.168.4.2 | DNS reply with len: 63
I (4785) example_dns_redirect_server: Waiting for data
I (4795) example_dns_redirect_server: Received 47 bytes from 192.168.4.2 | DNS reply with len: 63
I (4805) example_dns_redirect_server: Waiting for data
I (4805) example_dns_redirect_server: Received 47 bytes from 192.168.4.2 | DNS reply with len: 63
I (4815) example_dns_redirect_server: Waiting for data
I (4825) example_dns_redirect_server: Received 47 bytes from 192.168.4.2 | DNS reply with len: 63
I (4835) example_dns_redirect_server: Waiting for data
I (4835) example_dns_redirect_server: Received 47 bytes from 192.168.4.2 | DNS reply with len: 63
I (4845) example_dns_redirect_server: Waiting for data
I (4855) example_dns_redirect_server: Received 47 bytes from 192.168.4.2 | DNS reply with len: 63
I (4865) example_dns_redirect_server: Waiting for data
I (4875) example_dns_redirect_server: Received 47 bytes from 192.168.4.2 | DNS reply with len: 63
I (4885) example_dns_redirect_server: Waiting for data
I (12495) example_dns_redirect_server: Received 35 bytes from 192.168.4.2 | DNS reply with len: 51
I (12495) example_dns_redirect_server: Waiting for data
I (12495) example_dns_redirect_server: Received 35 bytes from 192.168.4.2 | DNS reply with len: 51
I (12505) example_dns_redirect_server: Waiting for data
I (12515) example_dns_redirect_server: Received 35 bytes from 192.168.4.2 | DNS reply with len: 51
I (12525) example_dns_redirect_server: Waiting for data
I (12525) example_dns_redirect_server: Received 35 bytes from 192.168.4.2 | DNS reply with len: 51
I (12535) example_dns_redirect_server: Waiting for data
I (12645) example_dns_redirect_server: Received 35 bytes from 192.168.4.2 | DNS reply with len: 51
I (12645) example_dns_redirect_server: Waiting for data
I (12645) example_dns_redirect_server: Received 35 bytes from 192.168.4.2 | DNS reply with len: 51
I (12655) example_dns_redirect_server: Waiting for data
I (12665) example_dns_redirect_server: Received 35 bytes from 192.168.4.2 | DNS reply with len: 51
I (12675) example_dns_redirect_server: Waiting for data
I (12675) example_dns_redirect_server: Received 35 bytes from 192.168.4.2 | DNS reply with len: 51
I (12685) example_dns_redirect_server: Waiting for data
I (12965) example_dns_redirect_server: Received 31 bytes from 192.168.4.2 | DNS reply with len: 47
I (12965) example_dns_redirect_server: Waiting for data
W (13215) httpd_uri: httpd_uri: URI '/favicon.ico' not found
W (13225) httpd_txrx: httpd_resp_send_err: 404 Not Found - Nothing matches the given URI
W (13225) httpd_txrx: httpd_sock_err: error in send : 104
E (13235) httpd_txrx: httpd_resp_send_err: error calling setsockopt : 22
I (16375) example_dns_redirect_server: Received 41 bytes from 192.168.4.2 | DNS reply with len: 57
I (16375) example_dns_redirect_server: Waiting for data
I (16375) example_dns_redirect_server: Received 41 bytes from 192.168.4.2 | DNS reply with len: 57
I (16385) example_dns_redirect_server: Waiting for data
I (17755) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (17755) example_dns_redirect_server: Waiting for data
I (17765) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (17775) example_dns_redirect_server: Waiting for data
I (17775) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (17785) example_dns_redirect_server: Waiting for data
I (17795) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (17805) example_dns_redirect_server: Waiting for data
I (17815) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (17815) example_dns_redirect_server: Waiting for data
I (17825) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (17835) example_dns_redirect_server: Waiting for data
I (17835) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (17845) example_dns_redirect_server: Waiting for data
I (17855) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (17865) example_dns_redirect_server: Waiting for data
I (17865) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (17875) example_dns_redirect_server: Waiting for data
I (17885) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (17895) example_dns_redirect_server: Waiting for data
I (18985) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (18985) example_dns_redirect_server: Waiting for data
I (18985) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (18995) example_dns_redirect_server: Waiting for data
I (19005) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (19015) example_dns_redirect_server: Waiting for data
I (19015) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (19025) example_dns_redirect_server: Waiting for data
I (19035) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (19045) example_dns_redirect_server: Waiting for data
I (19045) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (19055) example_dns_redirect_server: Waiting for data
I (19065) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (19075) example_dns_redirect_server: Waiting for data
I (19075) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (19085) example_dns_redirect_server: Waiting for data
I (19595) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (19595) example_dns_redirect_server: Waiting for data
I (19595) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (19605) example_dns_redirect_server: Waiting for data
I (19615) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (19625) example_dns_redirect_server: Waiting for data
I (19625) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (19635) example_dns_redirect_server: Waiting for data
I (19645) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (19655) example_dns_redirect_server: Waiting for data
I (19655) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (19665) example_dns_redirect_server: Waiting for data
I (19675) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (19685) example_dns_redirect_server: Waiting for data
I (19685) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (19695) example_dns_redirect_server: Waiting for data
I (19705) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (19715) example_dns_redirect_server: Waiting for data
I (19715) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (19725) example_dns_redirect_server: Waiting for data
I (21145) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (21145) example_dns_redirect_server: Waiting for data
I (21155) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (21165) example_dns_redirect_server: Waiting for data
I (21165) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (21175) example_dns_redirect_server: Waiting for data
I (21185) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (21195) example_dns_redirect_server: Waiting for data
I (21205) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (21205) example_dns_redirect_server: Waiting for data
I (21215) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (21225) example_dns_redirect_server: Waiting for data
I (21225) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (21235) example_dns_redirect_server: Waiting for data
I (21245) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (21255) example_dns_redirect_server: Waiting for data
I (25395) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (25395) example_dns_redirect_server: Waiting for data
I (25405) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (25415) example_dns_redirect_server: Waiting for data
I (25415) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (25425) example_dns_redirect_server: Waiting for data
I (25435) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (25445) example_dns_redirect_server: Waiting for data
I (25455) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (25455) example_dns_redirect_server: Waiting for data
I (25465) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (25475) example_dns_redirect_server: Waiting for data
I (25485) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (25495) example_dns_redirect_server: Waiting for data
I (25495) example_dns_redirect_server: Received 34 bytes from 192.168.4.2 | DNS reply with len: 50
I (25505) example_dns_redirect_server: Waiting for data
I (29735) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (29735) example_dns_redirect_server: Waiting for data
I (29735) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (29745) example_dns_redirect_server: Waiting for data
I (29755) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (29765) example_dns_redirect_server: Waiting for data
I (29765) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (29775) example_dns_redirect_server: Waiting for data
I (29785) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (29795) example_dns_redirect_server: Waiting for data
I (29795) NCM_configuration: Found URL query => ssid=My+Real+Wifi&password=my+spaced+password
I (29795) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (29805) NCM_configuration: ssid=My+Real+Wifi
I (29815) example_dns_redirect_server: Waiting for data
I (29825) NCM_configuration: password=my+spaced+password
I (29825) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (29835) NCM_configuration: WiFi settings accepted!
I (29845) example_dns_redirect_server: Waiting for data
I (29855) example_dns_redirect_server: Received 43 bytes from 192.168.4.2 | DNS reply with len: 59
I (29865) example_dns_redirect_server: Waiting for data
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:5940
load:0x40078000,len:15100
load:0x40080400,len:4
load:0x40080404,len:3492
entry 0x400805d0
I (224) cpu_start: Multicore app
I (233) cpu_start: Pro cpu start user code
I (233) cpu_start: cpu freq: 160000000 Hz
I (233) cpu_start: Application information:
I (236) cpu_start: Project name:     sta_to_eth
I (241) cpu_start: App version:      1
I (245) cpu_start: Compile time:     Mar 20 2024 16:43:30
I (251) cpu_start: ELF file SHA256:  eaa60c50b...
I (257) cpu_start: ESP-IDF:          HEAD-HASH-NOTFOUND
I (263) cpu_start: Min chip rev:     v0.0
I (267) cpu_start: Max chip rev:     v3.99 
I (272) cpu_start: Chip rev:         v1.0
I (277) heap_init: Initializing. RAM available for dynamic allocation:
I (284) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (290) heap_init: At 3FFB7D68 len 00028298 (160 KiB): DRAM
I (296) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (303) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (309) heap_init: At 400969CC len 00009634 (37 KiB): IRAM
I (317) spi_flash: detected chip: generic
I (320) spi_flash: flash io: dio
I (325) main_task: Started on CPU0
I (335) main_task: Calling app_main()
I (365) wifi:wifi driver task: 3ffbe218, prio:23, stack:6656, core=0
I (375) wifi:wifi firmware version: a9f5b59
I (375) wifi:wifi certification version: v7.0
I (375) wifi:config NVS flash: enabled
I (375) wifi:config nano formating: disabled
I (385) wifi:Init data frame dynamic rx buffer num: 32
I (385) wifi:Init static rx mgmt buffer num: 5
I (395) wifi:Init management short buffer num: 32
I (395) wifi:Init dynamic tx buffer num: 32
I (405) wifi:Init static rx buffer size: 1600
I (405) wifi:Init static rx buffer num: 10
I (405) wifi:Init dynamic rx buffer num: 32
I (415) wifi_init: rx ba win: 6
I (415) wifi_init: tcpip mbox: 32
I (425) wifi_init: udp mbox: 6
I (425) wifi_init: tcp mbox: 6
I (425) wifi_init: tcp tx win: 5760
I (435) wifi_init: tcp rx win: 5760
I (435) wifi_init: tcp mss: 1440
I (445) wifi_init: WiFi IRAM OP enabled
I (445) wifi_init: WiFi RX IRAM OP enabled
I (455) gpio: GPIO[2]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 
I (455) example_sta2wired: Starting USB-WiFi bridge
I (465) phy_init: phy_version 4791,2c4672b,Dec 20 2023,16:06:06
I (545) wifi:mode : sta (7c:87:ce:44:a9:a8)
I (545) wifi:enable tsf
I (2965) example_sta2wired: Wi-Fi STA disconnected
I (5375) example_sta2wired: Wi-Fi STA disconnected
I (7795) example_sta2wired: Wi-Fi STA disconnected
I (10205) example_sta2wired: Wi-Fi STA disconnected
E (10555) example_sta2wired: WiFi station connected failed
(reboot and start again)

More Information.

No response

owenthewizard avatar Mar 20 '24 22:03 owenthewizard

owenthewizard I tried to reproduce and the example works as expected. Did you fill correct SSID and password?

kostaond avatar May 02 '24 12:05 kostaond

Did you try with spaces or other characters in the SSID/password? I still have the issue, tested with my main SSID (contains spaces) and password (contains spaces), as well as my iPhone hotspot (in both maximize compatibility and regular mode), SSID has special character as well as a space, password has no spaces.

owenthewizard avatar May 02 '24 19:05 owenthewizard

I see,that's important piece of information! Thanks for pointing it out. It really doesn't work when space is present either in SSID or password. The spaces are replaced by pluses (+) in URL query but they are not decoded back to spaces. We'll have a look at it.

kostaond avatar May 03 '24 15:05 kostaond