This post is part of a series in which I will show how to set up and use your Azure Sphere. In my previous article, I showed you how to set up an Azure account to use with Azure Sphere. Today I will show you the following topics:
- Set up Wi-Fi on your Azure Sphere device
This tutorial assumes that you already have a Microsoft Azure account set up. #
- Visual Studio 2017 Enterprise, Professional, or Community
- The Azure Sphere SDK Preview for Visual Studio.
- A Microsoft work or school account associated with Azure Active Directory (AAD)
We are ready; connect your device to your PC, and let’s go.
How to set up Wi-Fi on your Azure Sphere device #
Open an Azure Sphere Developer Command prompt and enter the following command:
azsphere device wifi
With the show-status parameter, you can see the current status of the Wi-Fi interface and the MAC address of your device.
azsphere device wifi show-status
Using the add parameter, you can enter the data of your Wi-Fi connection.
azsphere device wifi add --ssid <SSID> --key <NetworkKey>
Using the show-status command again, you can check the status of the connection, the properties of the connection, as well as the IP assigned to your device. Other parameters to consider If you want to delete the current configuration, you should use the delete parameter indicating the network ID.
azsphere device wifi delete --id <Int>
The list parameter will show you the current configuration used in the Wi-Fi interface of your device.
azsphere device wifi list
To scan the available networks, use the scan parameter; this will show you a list with the basic characteristics of the available networks.
azsphere device wifi scan
With this post, the series “Getting Started With Azure Sphere” ends. The following posts will be on topics related to tests, add-ons, or modules and the use cases of the Azure Sphere device.
If you want to know more about Azure Sphere, check out this link.