justwifi icon indicating copy to clipboard operation
justwifi copied to clipboard

Can't connect to hidden SSID

Open mtfurlan opened this issue 6 years ago • 2 comments

If I use the basic example and try to connect to an SSID that isn't broadcast, it just says "No known networks found"

mtfurlan avatar Nov 10 '18 00:11 mtfurlan

You should disable enableScan option to connect to a hidden network. If enabled it will first scan for discoverable networks to find the best option available, since your network is not visible it won't detect it and show the message you see.

xoseperez avatar Dec 17 '18 22:12 xoseperez

If I don't specify that, will it connect to the first hidden network it finds that matches, or the strongest signal? There is a lot of speculation and not much information on ESPs connecting to the strongest signal, and as far as I can tell nothing on doing it with a hidden ssid. Do you happen to know anything about it?

On Mon, 17 Dec 2018 at 17:51, Xose Pérez [email protected] wrote:

You should disable enableScan option to connect to a hidden network. If enabled it will first scan for discoverable networks to find the best option available, since your network is not visible it won't detect it and show the message you see.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/xoseperez/justwifi/issues/12#issuecomment-448029152, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJyGvS5rXpPXrKS8ql3zWH1JZEgzt39ks5u6B_bgaJpZM4YXs1V .

mtfurlan avatar Dec 18 '18 15:12 mtfurlan