question

kiwookhong-0750 avatar image
0 Votes"
kiwookhong-0750 asked AryaDing-MSFT commented

[UWP] Could wifi scan take very long time at the same time from several PC?

Hi,
I have the uwp app that is scanning nearby wifi APs in foreground.
Here is APIs what I am using, not the real code.

     var check = await WiFiAdapter.RequestAccessAsync();
     var adaptor = await DeviceInformation.FindAllAsync(WiFiAdapter.GetDeviceSelector());
     var select = await WiFiAdapter.FromIdAsync(adaptor [0].Id);
     await select .ScanAsync();

Today I saw that 3 PCs couldn't get any results at the same time in several miniutes.
I can't understand if these can affect to several PC at the similar time. I don't think so but they did.
There was no exception during the time but just no logs what I added between those API calls.

After some time passed, all worked.
Does someone have the similar experience or know about this?

windows-uwp
· 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.

@kiwookhong-0750 Could you please tell me whether this issue happens every time? How long does the PC independent scan take? In addition, do these three PCs use a WifiAdapter together?

0 Votes 0 ·

Not every time, it occurred temporarily during 30~40 mins. Normally we could get wifi scan result in 2~3 seconds.
I couldn't understand the last question. Each PC has the embeded wifi module. Maybe they just could use the same Wifi AP for internet connection.
Thank you!

0 Votes 0 ·

@kiwookhong-0750 Some wifi Adapters might have same device id, it might affect the wifi scan when these PCs scan at the same time. Therefore, I suggest you could change these wifi Adapters to check whether it is affected by the Adapter.

0 Votes 0 ·

0 Answers