How to format that WiFi QR code in plain text

Something I ran into yesterday is I’ve got a QR code generating label printer and needed the text to put into it for a WiFi quick connect QR code. Well, there’re a crap ton of places that will generate a quick connect WiFi code for you, and you can easily get a QR code these days straight from your Android phone, but I needed the actual string because trying to get a JPEG on this thermal handheld label printer is a pain.

I’m playing with a Niimbot D11 at the moment in case you’re wondering, I don’t see an option to scan a code and generate one. I may be missing something.

The actual text is as follows:

WIFI:S:<SSID>;T:<WEP|WPA|blank>;P:<PASSWORD>;H:<true|false|blank>;;

Should be noted you don’t appear to need the H:, and the greater and less than symbols are there to show you need to put something there.

An example I have is if you have an SSID named “pocketables” and a password of “let there be cake” the following works as text for a QR generator:

WIFI:S:pocketables;T:WPA;P:let there be cake;;

The unused H and operand there appears to deal with hidden networks, which I guess have to be force joined. Need the trailing double semicolons if I recall correctly. Seems like without the two trailing semicolons the password did not pass.

There’s no requirement to escape the spaces, although I do wonder how one would deal if you’ve got a semicolon in the password.

Now I’ve got to figure out how one does contact cards and quick dialing… down the rabbit hole we go.

[Wikipedia]
Pocketables does not accept targeted advertising, phony guest posts, paid reviews, etc. Help us keep this way with support on Patreon!

Paul E King

Paul King started with GoodAndEVO in 2011, which merged with Pocketables, and as of 2018 he's evidently the owner. He lives in Nashville, works at a film production company, is married with two kids. Facebook | Twitter | Donate | More posts by Paul | Subscribe to Paul's posts