Skip to content

Comment on Print off a QR code for guests to join your WiFi network

Comments

the little DSL format looks like this:

  WIFI:S:NETWORK-NAME;T:WEP;P:NETWORK-PASSWORD;H:false;;
and i use the python tool `qr` to generate one: https://pypi.org/project/qrcode/

The key/value pairs after the "WIFI:" prefix are as follows:

  S - the SSID
  P - the password
  T - the encryption type (WEP, WPA, or blank)
  H - whether or not it's a hidden network
The only required pair is "S"; all other pairs are optional and may be omitted if desired.

Is this format specified somewhere? How do you escape the separation characters if used in one of the keys?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.