You are reading a single comment by @MaBe and its replies. Click here to read the full conversation.
  • I use the ESP in station mode and 192.168.194.0 is my local network

    use this to get the full mac for ap and station:

    >var Wifi = require("Wifi");
    =function () { [native code] }
    >Wifi.getAPIP();
    ={
      "ip": "0.0.0.0",
      "netmask": "0.0.0.0",
      "gw": "0.0.0.0",
      "mac": "5e:cf:7f:11:35:32"
     }
    >Wifi.getIP();
    ={
      "ip": "192.168.194.131",
      "netmask": "255.255.255.0",
      "gw": "192.168.194.1",
      "mac": "5c:cf:7f:11:35:32"
     }
    > 
    

    as @Ollie said, in AP mode the ip is always 192.168.4.1 and the SSID is always ESP_< last three octets of the mac >

    >Wifi.getAPDetails();
    ={
      "status": "disabled",
      "authMode": "open",
      "hidden": false, "maxConn": 4,
      "ssid": "ESP_113532",
      "password": "",
      "savedSsid": null }
    
About

Avatar for MaBe @MaBe started