Azure / azure-sphere-samples

Samples for Azure Sphere
Other
223 stars 200 forks source link

VSCode: Wi-Fi details not showing up #254

Open jelalanne opened 2 years ago

jelalanne commented 2 years ago

Hello,

Not sure if it's the right place to publish that bug, but didn't find a better suit. When running the Azure Sphere Explorer for the first time, with a connected device and after claiming it with the tenant, I am trying to connect it over the network, but when listing the available networks, only the infos names' appears, like on the next capture. Sorry it is in French, but i think the terms are quite obvious.

image

I suppose this is a bug. Hope you might do something about it.

jamesadevine commented 2 years ago

Hi @jelalanne! I suppose this is as good a place than any :smile:

I assume the bug is that the extension is listing "SSID" multiple times and each contains the same network SSIDs?

jelalanne commented 2 years ago

Hi @jamesadevine, the thing is, they are not listed at all ^^' A lot of infos are missing, and for the wi-fi subject, only key words are shown, not the actual values

jamesadevine commented 2 years ago

Great, thanks for the additional details @jelalanne! A bug has been raised internally.

olegkhar commented 2 years ago

Hi @jelalanne ,

Can you please turn on logging of CLI commands in the Output Window of Visual Studio? To do so, set the environment variable "AzureSphere.PrintCliCommands" to "1"; then restart Visual Studio and re-open the Azure Sphere Explorer.

There's probably going to be a lot of output, but you can clear the output window, and then reload the Available Networks node in the Explorer, and you'll see the output of the command azsphere device wifi scan -o json.

That may help us understand the problem better. Thank you!

jelalanne commented 2 years ago

Hi @olegkhar, I'm actually using vscode. Is there any other equivalent of your suggestions?

jelalanne commented 2 years ago

This is what I got from Azure Sphere - UI output when refreshing details of device, does this help?

image

olegkhar commented 2 years ago

Thank you, @jelalanne , this helps.

Can you please tell me if any of the network names have non-ASCII characters in them?

jelalanne commented 2 years ago

@olegkhar no, they are all either letters, numbers, dashes, underscores and spaces

olegkhar commented 2 years ago

@jelalanne We identified the issue with the translation of our extensions and are working on correcting the translation. In the meanwhile, can you please try changing the language to English to see if the issue still reproduces?

Thank you!

jelalanne commented 2 years ago

@olegkhar my VScode is currently already in english. I don't know why the extension is showing up french. And I don't know how to change extension's language specific setting

xisui-MSFT commented 2 years ago

@olegkhar my VScode is currently already in english. I don't know why the extension is showing up french. And I don't know how to change extension's language specific setting

There is no extension specific language setting. Displayed language is controlled by VS Code.

And I can't repro this behavior here. So my suggestion is to try to correct this with some usual approaches, for example:

If none of these fix this problem, you'll need to open an issue for VS Code: https://github.com/microsoft/vscode

jelalanne commented 2 years ago

Hello @xisui-MSFT , switch back and forth to french worked :) Thanks! I suppose this issue shall stay opened for you to repair the translation bug, or do I close it?

olegkhar commented 2 years ago

Hi @jelalanne Thank you for confirming, and I'm happy to hear that you got the Extension working.

We'd like to keep this issue for a bit while we're fixing the Translation bug -- and we'll reply once we publish the Extension with the fix.