Wrong Format in SetSoftApSettingsAsync
In the method SetSoftApSettingsAsync in file IoTOnboarding.cs the format string is incorrect: await this.PostAsync( SoftAPSettingsApi, string.Format("SoftApEnabled= ... it must be await this.PostAsync( SoftAPSettingsApi, string.Format("SoftAPEnabled= ...
Hi TWensky - are you saying that it fails with 'Ap'? The REST API handler at the other end should be case-insensitive, so this would be a bug in Device Portal itself (with a compat fix needed here as well).
Hi,
yes, it fails indeed. I have just been trying it out, wondering why the call failed. I have compared the string with the string sent from my browser when using the device portal. This was the only difference and as soon as I changed it the call worked fine and I was able to change the SoftAP settings.
Btw, I am working on Windows IoT on a DragonBoard 410c
--
Von: Hirsch Singhal [mailto:[email protected]] Gesendet: Montag, 4. Dezember 2017 21:30 An: Microsoft/WindowsDevicePortalWrapper [email protected] Cc: TWensky [email protected]; Author [email protected] Betreff: Re: [Microsoft/WindowsDevicePortalWrapper] Wrong Format in SetSoftApSettingsAsync (#280)
Hi TWensky - are you saying that it fails with 'Ap'? The REST API handler at the other end should be case-insensitive, so this would be a bug in Device Portal itself (with a compat fix needed here as well).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/WindowsDevicePortalWrapper/issues/280#issuecomment-349095333 , or mute the thread https://github.com/notifications/unsubscribe-auth/Agqh3mkRrhU_mhlkAsKf33vcoxBsDzJ5ks5s9FZTgaJpZM4Q1Qnv . https://github.com/notifications/beacon/Agqh3i35EkPfP9W2siJa3sBG7vIMqt8Eks5s9FZTgaJpZM4Q1Qnv.gif
Thanks for the clarification! @namkedia can you repro this internally and put in a fix here and in WDP on IoT?