pub fn create_network_info( ssid: &str, pass: Option<&str>, security_type: Option<SecurityType>, ) -> NetworkConfig