• starting some tests, hit by this: cannot change the mode... stuck in mode = ap

    >var Wifi = require("Wifi");
    >Wifi.getStatus();
    ={
      "mode": "ap",
      "station": "off",
      "ap": "enabled",
      "phy": "11n",
      "powersave": "ps-poll",
      "savedMode": "off"
     }
    >Wifi.setConfig({mode : "sta+ap"});
    >Wifi.getStatus();
    ={
      "mode": "ap",
      "station": "off",
      "ap": "enabled",
      "phy": "11n",
      "powersave": "ps-poll",
      "savedMode": "off"
     }
    

    mode is changing when changing phy and powersave like this ?!

    >var Wifi = require("Wifi");
    >Wifi.setConfig( {phy : "11g",powersave : "none"} );
    >Wifi.getStatus();
    ={
      "mode": "sta+ap",
      "station": "off",
      "ap": "enabled",
      "phy": "11g",
      "powersave": "none",
      "savedMode": "off"
     }
    
About

Avatar for MaBe @MaBe started