Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Did you type this in from memory?!


There is no real specification. This is the best source[1], which documents QR standards.

>There are some standards -- de facto and otherwise -- already in use. This wiki attempts to catalog some possible standards for encoding various types of information, and suggest a standard action associated to them.

[1]: https://github.com/zxing/zxing/wiki/Barcode-Contents#wi-fi-n...


Damn, that's saddening, but also answers a question I had about what the escape character is for a password containing `;` -- I guess there's no specification to tell me :-(

OTOH, I guess a "standard" is whatever the common implementations accept anyway, so if one could dig up the source to the WiFi QR scanner in source.android.com that's the 2nd best thing


No specification, but the linked website mentions that they “propose a syntax like "MECARD" for specifying wi-fi configuration” and then later:

> Special characters \, ;, ,, " and : should be escaped with a backslash (\) as in MECARD encoding.


Not OP, but I found that string from viewing the source code for Card.js in the sources tab.


In fairness, the string doesn't seem insaneo: T:=Type S:=SSID P:=Password then only the leading and trailing chars need to be "remembered", plus whatever the escape character is for that password string (or maybe even the SSID -- I'm not super clear on what characters can be in an SSID)


> I'm not super clear on what characters can be in an SSID)

I hear “%s%s%s%s%p” is the preferred SSID these days…





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: