-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong Format in SetSoftApSettingsAsync #280
Comments
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 <#280 (comment)> , 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? |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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= ...
The text was updated successfully, but these errors were encountered: