Open Access Point Issues

Posted on
  • I'm trying to setup a temporary open access point and no matter what I do, when I upload it to Flash, the console reports an "Uncaught Error: Password must be at least 8 characters"

    WIFI.startAP(####, (err)=>{});


    WIFI.startAP(####, {  authMode: 'open' }, (err)=>{});

    Board Information
    VERSION 2v06
    GIT_COMMIT 21168a2b
    MODULES Flash,Storage,heatshrink,fs,net,dgram,tl­s,http,NetworkJS,WIZnet,tv,crypto,neo ...

    Has anyone else run into this and have a workaround other than setting a password?


  • Sorry, this looks like a bug. It seems like you can just work around it by specifying a password (which will then get ignored):

    wifi.startAP('EspruinoAP', { password: '0123456789', authMode: 'open' }, function(err) {
      if (err) throw err;

    However I've just made some fixes so the next version of the Espruino WiFi firmware won't have this issue.

  • Awesome! Thank you!

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

Open Access Point Issues

Posted by Avatar for Ken @Ken