【问题标题】:Unable to acquire AP network IP and DNS on a ESP32 MCUESP32 MCU无法获取AP网络IP和DNS
【发布时间】:2022-12-18 22:33:34
【问题描述】:

当我的智能设备 ESP32 S3 尝试通过 WIFI 连接到接入点 (AP) 时,串行输出(详细模式)出现以下错误。 SSID 是TheScientist

下面是串行输出:

Connecting to TheScientist
[  1064][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 0 - WIFI_READY
[  1098][V][WiFiGeneric.cpp:338] _arduino_event_cb(): STA Started
[  1099][V][WiFiGeneric.cpp:97] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[  1099][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 2 - STA_START
.......[  4750][V][WiFiGeneric.cpp:360] _arduino_event_cb(): STA Disconnected: SSID: TheScientist, BSSID: 3c:cd:5d:a7:f1:13, Reason: 15
[  4750][D][WiFiGeneric.cpp:929] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[  4758][W][WiFiGeneric.cpp:950] _eventCallback(): Reason: 15 - 4WAY_HANDSHAKE_TIMEOUT

【问题讨论】:

    标签: esp32 arduino-esp32


    【解决方案1】:

    尽管详细的调试串行输出显示

    Reason: 15 - 4WAY_HANDSHAKE_TIMEOUT

    实际上,超时是由于使用的密码长于 ESP32 MCU 允许的 32 个字符。综上所述,任何 ESP32 MCU 要成功连接到任何 WIFI 接入点,网络密码长度不得超过 32 个字符。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-05-02
      • 1970-01-01
      • 1970-01-01
      • 2021-07-13
      • 2023-03-13
      • 1970-01-01
      • 2022-01-03
      相关资源
      最近更新 更多