Expand description
WiFi configuration (WIFI:) parsing and encoding.
The wire format is WIFI:T:<auth>;S:<ssid>;P:<password>;; with optional
;H:true for hidden networks, though the parser accepts the fields in any
order. The characters \\ ; , " : are backslash-escaped inside the SSID and
password. The qrcode-rs facade uses this same module for its convenience
constructor, so encode_wifi and WifiConfig::parse stay symmetric.
Structs§
- Wifi
Config - A parsed WiFi configuration recovered from a
WIFI:QR payload.
Enums§
- Wifi
Security - WiFi authentication mode for a
WifiConfig.
Functions§
- encode_
wifi - Encodes a WiFi configuration into the
WIFI:wire format consumed by phone cameras.