[][src]Module wifiqr::code

Wifi QR code generator

Structs

Credentials

Functions

auth

returns a new Credentials struct given Wifi credentials. This data is not validated, nor formatted into a QR code string. Call .format() on Credentials to do this.

console_qr

generates a wifi qr code that is printed to a terminal/console for quick scanning parameters:

encode

generates a qrcode from a Credentials configuration

make_image

returns an ImageBuffer<> that can be saved using save_image(), or passed on for further manipulation by the caller

make_svg

generates an svg string from a QrCode (output from the QR library)

manual_encode

manual_encode isn't intended for use externally, but exists to compare between the automated encoder and this manual_encode version https://docs.rs/qrcodegen/latest/src/qrcodegen/lib.rs.html#151

save_image

saves an image to a file