Expand description
Wifi QR codes are a way to encode wifi connection information and credentials into a QR code so that it can be scanned. They are supported via the latest Android and iOS phones, as well as other platforms.
It is important to take into account that QR codes do not provide any security mechanisms that would prevent someone from just reading the code and recovering the password for the network. Android requires that you re-authenticate before it will display the QR code on the screen to make sure the user is allowed to share that information, for example.
Structs§
- Wifi
Credentials - The credentials needed to completely connect to a wifi network.
Enums§
- Authentication
Type - Declare whether the network is authenticated via WEP with a password, WPA with a password, or if the network is open.
- QrCode
Ecc - The error correction level in a QR Code symbol.
- Visibility
- Declare whether the network is broadcasting its availability.
Functions§
- encode_
as_ image - Encode credentials as raw image data. This is useful when generating the QR code and then manipulating it with an image library.
- encode_
as_ matrix - Encode credentials as a matrix of boolean values. This is useful when manually generating an image.
- encode_
as_ png - Encode credentials as a PNG image.
- encode_
as_ svg - Encode credentials as an SVG image.