You are reading a single comment by @Robin and its replies. Click here to read the full conversation.
  • and here's what happened when I try to startAP and also connect wifi:

    >wifi.startAP("test",{authMode:'wpa2',password:"88888888"});
    =undefined
    >wifi.connect("xxxx",{password:"xxxxxxxx"},(err)=>{if (err){print(err);return;}print("connected");});
    ERROR: Wifi: event_handler STA_START: esp_wifi_connect: 12298(SSID is invalid)
    =undefined
    >wifi.getIP()
    ={ 
      ip: "0.0.0.0", 
      netmask: "0.0.0.0", 
      gw: "0.0.0.0", 
      mac: "3c:71:bf:4c:a4:d4"
     }
    WARNING: Wifi:startMDNS - espressif
    connected
    >wifi.getIP()
    ={ 
      ip: "192.168.11.31", 
      netmask: "255.255.240.0", 
      gw: "192.168.1.253", 
      mac: "3c:71:bf:4c:a4:d4"
     }
    >E (774880) event: post event to user fail!
    E (777720) event: post event to user fail!
    E (780562) event: post event to user fail!
    E (783403) event: post event to user fail!
    
    >wifi.getIP()
    ={ 
      ip: "0.0.0.0", 
      netmask: "0.0.0.0", 
      gw: "0.0.0.0", 
      mac: "3c:71:bf:4c:a4:d4"
     }
    >wifi.getDetails()
    ={ 
      status: "NO_AP_FOUND"
     }
    >
    
About

Avatar for Robin @Robin started