Skip to main content
Jorge Bernhardt Jorge Bernhardt
  1. Posts/

Getting Started With Azure Sphere - Part 3

·356 words·2 mins· 100 views · 5 likes ·
azsphere Azure Sphere IoT Microsoft

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.>

This tutorial assumes that you already have a Microsoft Azure account set up. #

Prerequisites:>

Prerequisites: #

We are ready; connect your device to your PC, and let’s go.

How to set up Wi-Fi on your Azure Sphere device>

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

Azure Sphere Wi-Fi
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

azsphere show-status
Using the add parameter, you can enter the data of your Wi-Fi connection.

azsphere device wifi add --ssid <SSID> --key <NetworkKey>

azsphere wifi add
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.
Azure Sphere Wi-Fi
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>

azsphere wifi delete
The list parameter will show you the current configuration used in the Wi-Fi interface of your device.

azsphere device wifi list

azsphere 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.