4 ms·
Did you type this in from memory?!
by floatingatoll 5y ago
Did you type this in from memory?!
- captn3m0 5y agoThere 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-network-config-android-ios-11 https://github.com/zxing/zxing/wiki/Barcode-Contents#wi-fi-n...
- mdaniel 5y agoDamn, 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
- jaflo 5y agoNo 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.
- mdaniel 5y agoIn 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)
- bigiain 5y ago> 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…
- sp332 5y agoFor those playing along at home https://arstechnica.com/gadgets/2021/06/connecting-to-malicious-wi-fi-networks-can-mess-with-your-iphone/ https://arstechnica.com/gadgets/2021/06/connecting-to-malici...
- prophesi 5y agoNot OP, but I found that string from viewing the source code for Card.js in the sources tab.