fn build_ap(ssid: &str, password: &str, wpa2: bool) -> AccessPointConfigExpand description
Builds the access-point configuration for esp-radio.
password is only applied when it meets the WPA2 minimum length of 8;
an empty or shorter password yields an open network.