Skip to main content

encode_wifi

Function encode_wifi 

Source
pub fn encode_wifi(ssid: &str, password: &str, auth: &str) -> String
Expand description

Encodes a WiFi configuration into the WIFI: wire format consumed by phone cameras.

This is the single source of truth shared with the qrcode-rs facade’s QrCode::for_wifi constructor.