How to get list of azsphere device wifi show-status?

Madanraj A 20 Reputation points
2023-01-12T12:47:00.4966667+00:00

I am getting for single device for below command

azsphere device wifi show-status

SSID : xxxxxxx

Configuration state : enabled

Connection state : connected

Security state : psk

Frequency : 2xxx

Mode : station

Key management : WPA2-PSK

WPA State : COMPLETED

IP Address : 195.xxxxxxx

MAC Address : 26:xxxxxxxxx

Command completed successfully in 00:00:0xxxxxxx.

How to get for list of multiple device mac ?

Azure Sphere
Azure Sphere
An Azure internet of things security solution including hardware, operating system, and cloud components.
125 questions
Azure IoT Device Provisioning Service
Azure IoT Device Provisioning Service
A helper service for Azure IoT Hub that enables zero-touch, just-in-time provisioning to the right IoT hub without requiring human intervention.
84 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
695 questions
Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
253 questions
{count} votes

1 answer

Sort by: Most helpful
  1. LeelaRajeshSayana-MSFT 976 Reputation points
    2023-01-16T18:46:27.17+00:00

    The command azsphere device wifi show-status is meant to show the status of the Wi-Fi interface on the attached device.

    Even if there are multiple devices connected to the Windows machine, the command line enforces you to specify the device ID, IP address or the Local Connection ID of the attached device. Please refer the below image for more details on the parameters of the command.

    User's image

    Here is the link to the official documentation on Azure Sphere CLI command interface. Even if you have multiple connected devices, the only way to achieve what you are looking for, with the current implementation, is to run the command against each connected device individually.

    Please let us know if the above shared information answers your question.