bndw / wifi-card

📶 Print a QR code for connecting to your WiFi (wificard.io)

Home Page:https://wificard.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hidden SSID wifi network can not be connected

jiqinga opened this issue · comments

Yes. Probably the problem is that we don't pass H parameter with value true or false.

setQrvalue(`WIFI:T:${network.encryptionMode};S:${ssid};P:${password};;`);

Doc:

H true Optional. True if the network SSID is hidden. Note this was mistakenly also used to specify phase 2 method in releases up to 4.7.8 / Barcode Scanner 3.4.0. If not a boolean, it will be interpreted as phase 2 method (see below) for backwards-compatibility

It would be good to implement passing this parameter. I will do this.

It's ready to test on branch olekstomek:feature/possible-connection-to-hidden-ssid-wifi-network #101

Merged ade8bc7, so it can be closed.