How can I create a QR code to connect to a WiFi?
Although the ability to correctly interpret the encoded information depends on the device / application reading the code, in order to be able to trigger actions on the scanner device (like connecting to a WiFi, opening a URL or saving a contact information), the text encoded into the QR needs to follow some standards.
For the WiFi connection in this case, the data in the QR should follow the following schemas:
ssid is 'abc'
password is '1234'
For WEP encryption, the string of data should be:
Additionally, in these cases it might be interesting to hide the human readable part of the code, this can be done via the Human Readable > Visibility option within the barcode properties:
Further examples on how to format the content within a QR code for different purposes can be found here: https://github.com/zxing/zxing/wiki/Barcode-Contents