question

44386896 avatar image
0 Votes"
44386896 asked SongZhu-MSFT edited

WiFi Provisioning

Hi,

Please, help with Wi-Fi profile provision. Probably someone faced with the same method like this is described here: https://docs.microsoft.com/en-us/windows/win32/nativewifi/prov-wifi-profile-via-website

 (ms-settings:wifi-provisioning?uri={download_uri}

What I tried:
1. Exported existed WPA2-Enterprise EAP-PEAP profile by netsh wlan export from PC and tried to import it back by that feature - Wrong XML, missed DTD/Scheme params (tried to import the same XML back with netsh - without problem).
2. Tried to fix "wrong" XML to XML with generated DTD and/or with XSD info - Error: Unable parse XML.

Probably someone did that. What is wrong?
Thanks!



windows-api
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Your question is more related with win32, I will remove network tag and add the corresponding win32 tag. Thank you!

0 Votes 0 ·

Sorry I am not sure about the content of your xml, but you can refer to related questions to see if the xml is wrong: How to parse invalid (bad / not well-formed) XML?,
Unable to parse XML with Xerces-C++.

0 Votes 0 ·

Thank you for an answer!

However, I checked my XMLs with intellij Idea software, Visual Code, Visual Studio Community and xmllint. If netsh exported config had DTD/Schema issues my XML had generated DTD and Schema info. All listed apps told me that my file had no issues.

Thanks.

0 Votes 0 ·

0 Answers