Skip to content

Commit d8b16f3

Browse files
Merge pull request #277852 from timlt/update-device-tutorials
Update IoT Explorer include, review freshness, Acro updates
2 parents cb71d93 + ce003ce commit d8b16f3

4 files changed

+22
-19
lines changed

articles/iot/tutorial-devkit-espressif-esp32-freertos-iot-hub.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: timlt
66
ms.service: iot
77
ms.devlang: c
88
ms.topic: tutorial
9-
ms.date: 04/04/2024
9+
ms.date: 06/11/2024
1010
#Customer intent: As a device builder, I want to see a working IoT device sample using FreeRTOS to connect to Azure IoT Hub. The device should be able to send telemetry and respond to commands. As a solution builder, I want to use a tool to view the properties, commands, and telemetry an IoT Plug and Play device reports to the IoT hub it connects to.
1111
---
1212

@@ -67,7 +67,7 @@ To connect the ESP32 DevKit to Azure, you modify configuration settings, build t
6767

6868
### Set up the environment
6969
To launch the ESP-IDF environment:
70-
1. Select Windows **Start**, find **ESP-IDF 5.0 CMD** and run it.
70+
1. Select Windows **Start**, find **ESP-IDF 5.0 CMD**, and run it.
7171
1. In **ESP-IDF 5.0 CMD**, navigate to the *iot-middleware-freertos-samples* directory that you cloned previously.
7272
1. Navigate to the ESP32-Azure IoT Kit project directory *demos\projects\ESPRESSIF\aziotkit*.
7373
1. Run the following command to launch the configuration menu:
@@ -211,7 +211,7 @@ To view and edit device properties using Azure IoT Explorer:
211211

212212
To use Azure CLI to view device properties:
213213

214-
1. In your CLI console, run the [az iot hub device-twin show](/cli/azure/iot/hub/device-twin#az-iot-hub-device-twin-show) command.
214+
1. Run the [az iot hub device-twin show](/cli/azure/iot/hub/device-twin#az-iot-hub-device-twin-show) command.
215215

216216
```azurecli
217217
az iot hub device-twin show --device-id mydevice --hub-name {YourIoTHubName}
@@ -267,17 +267,17 @@ To use Azure CLI to view device telemetry:
267267

268268
## Call a direct method on the device
269269

270-
You can also use Azure IoT Explorer to call a direct method that you've implemented on your device. Direct methods have a name, and can optionally have a JSON payload, configurable connection, and method timeout. In this section, you call a method that turns an LED on or off. Optionally, you can do the same task using Azure CLI.
270+
You can also use Azure IoT Explorer to call a direct method that you implemented on your device. Direct methods have a name, and can optionally have a JSON payload, configurable connection, and method timeout. In this section, you call a method that turns an LED on or off. Optionally, you can do the same task using Azure CLI.
271271

272272
To call a method in Azure IoT Explorer:
273273

274274
1. From the **IoT Plug and Play components** (Default Component) pane for your device in IoT Explorer, select the **Commands** tab.
275-
1. For the **ToggleLed1** command, select **Send command**. The LED on the ESP32 DevKit toggles on or off. You should also see a notification in IoT Explorer.
275+
1. For the **ToggleLed1** command, select **Send command**. The LED on the ESP32 DevKit toggles on or off. You should also see a notification in IoT Explorer.
276276

277277
:::image type="content" source="media/tutorial-devkit-espressif-esp32-iot-hub/iot-explorer-invoke-method.png" alt-text="Screenshot of calling a method in IoT Explorer.":::
278278

279279
1. For the **DisplayText** command, enter some text in the **content** field.
280-
1. Select **Send command**. The text displays on the ESP32 DevKit screen.
280+
1. Select **Send command**. The text displays on the ESP32 DevKit screen.
281281

282282

283283
To use Azure CLI to call a method:

articles/iot/tutorial-devkit-mxchip-az3166-iot-hub.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: timlt
66
ms.service: iot
77
ms.devlang: c
88
ms.topic: tutorial
9-
ms.date: 04/08/2024
9+
ms.date: 06/11/2024
1010
ms.custom: devx-track-azurecli
1111

1212
#Customer intent: As a device builder, I want to see a working IoT device sample connecting to IoT Hub and sending properties and telemetry, and responding to commands. As a solution builder, I want to use a tool to view the properties, commands, and telemetry an IoT Plug and Play device reports to the IoT hub it connects to.
@@ -66,11 +66,11 @@ resources
6666

6767
To install the tools:
6868

69-
1. From File Explorer, navigate to the following path in the repo and run the setup script named *get-toolchain.bat*:
69+
1. Navigate to the following path in the repo and run the setup script named *get-toolchain.bat*:
7070

7171
*getting-started\tools\get-toolchain.bat*
7272

73-
1. After the installation, open a new console window to recognize the configuration changes made by the setup script. Use this console to complete the remaining programming tasks in the tutorial. You can use Windows CMD, PowerShell, or Git Bash for Windows.
73+
1. Open a new console window to recognize the configuration changes made by the setup script. Use this console to complete the remaining programming tasks in the tutorial. You can use Windows CMD, PowerShell, or Git Bash for Windows.
7474
1. Run the following code to confirm that CMake version 3.14 or later is installed.
7575

7676
```shell
@@ -295,7 +295,7 @@ To use Azure CLI to view device telemetry:
295295

296296
## Call a direct method on the device
297297

298-
You can also use Azure IoT Explorer to call a direct method that you've implemented on your device. Direct methods have a name, and can optionally have a JSON payload, configurable connection, and method timeout. In this section, you call a method that turns an LED on or off. Optionally, you can do the same task using Azure CLI.
298+
You can also use Azure IoT Explorer to call a direct method that you implemented on your device. Direct methods have a name, and can optionally have a JSON payload, configurable connection, and method timeout. In this section, you call a method that turns an LED on or off. Optionally, you can do the same task using Azure CLI.
299299

300300
To call a method in Azure IoT Explorer:
301301

articles/iot/tutorial-devkit-stm-b-l475e-iot-hub.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: timlt
66
ms.service: iot
77
ms.devlang: c
88
ms.topic: tutorial
9-
ms.date: 04/08/2024
9+
ms.date: 06/11/2024
1010

1111
#Customer intent: As a device builder, I want to see a working IoT device sample connecting to IoT Hub and sending properties and telemetry, and responding to commands. As a solution builder, I want to use a tool to view the properties, commands, and telemetry an IoT Plug and Play device reports to the IoT hub it connects to.
1212
---
@@ -64,11 +64,11 @@ The cloned repo contains a setup script that installs and configures the require
6464
6565
To install the tools:
6666

67-
1. From File Explorer, navigate to the following path in the repo and run the setup script named *get-toolchain.bat*:
67+
1. Navigate to the following path in the repo and run the setup script named *get-toolchain.bat*:
6868

6969
*getting-started\tools\get-toolchain.bat*
7070

71-
1. After the installation, open a new console window to recognize the configuration changes made by the setup script. Use this console to complete the remaining programming tasks in the tutorial. You can use Windows CMD, PowerShell, or Git Bash for Windows.
71+
1. Open a new console window to recognize the configuration changes made by the setup script. Use this console to complete the remaining programming tasks in the tutorial. You can use Windows CMD, PowerShell, or Git Bash for Windows.
7272
1. Run the following code to confirm that CMake version 3.14 or later is installed.
7373

7474
```shell
@@ -136,7 +136,7 @@ To connect the STM DevKit to Azure, you modify a configuration file for Wi-Fi an
136136
137137
1. Copy the binary file named *stm32l475_azure_iot.bin*.
138138
139-
1. In File Explorer, find the STM Devkit that's connected to your computer. The device appears as a drive on your system with the drive label **DIS_L4IOT**.
139+
1. In File Explorer, find the STM Devkit connected to your computer. The device appears as a drive on your system with the drive label **DIS_L4IOT**.
140140
141141
1. Paste the binary file into the root folder of the STM Devkit. Flashing starts automatically and completes in a few seconds.
142142
@@ -300,7 +300,7 @@ To use Azure CLI to view device telemetry:
300300
301301
## Call a direct method on the device
302302
303-
You can also use Azure IoT Explorer to call a direct method that you've implemented on your device. Direct methods have a name, and can optionally have a JSON payload, configurable connection, and method timeout. In this section, you call a method that turns an LED on or off. Optionally, you can do the same task using Azure CLI.
303+
You can also use Azure IoT Explorer to call a direct method that you implemented on your device. Direct methods have a name, and can optionally have a JSON payload, configurable connection, and method timeout. In this section, you call a method that turns an LED on or off. Optionally, you can do the same task using Azure CLI.
304304
305305
To call a method in Azure IoT Explorer:
306306

includes/iot-develop-create-cloud-components.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ In the rest of this quickstart, you use IoT Explorer to register a device to you
5757
5858
To add a connection to your IoT hub:
5959
60-
1. Install [Azure IoT Explorer](https://github.com/Azure/azure-iot-explorer/releases). This tool is a cross-platform utility to monitor and manage Azure IoT resources.
60+
1. Install [Azure IoT Explorer](https://github.com/Azure/azure-iot-explorer/releases). This tool is a cross-platform utility to monitor and manage Azure IoT resources.
6161
6262
1. In your CLI app, run the [az iot hub connection-string show](/cli/azure/iot/hub/connection-string#az-iot-hub-connection-string-show) command to get the connection string for your IoT hub.
6363
@@ -78,12 +78,15 @@ If the connection succeeds, IoT Explorer switches to the **Devices** view.
7878
To add the public model repository:
7979
8080
1. In IoT Explorer, select **Home** to return to the home view.
81-
1. On the left menu, select **IoT Plug and Play Settings**, then select **+Add** and select **Public repository** from the drop-down menu.
82-
1. An entry appears for the public model repository at `https://devicemodels.azure.com`.
81+
1. On the left menu, select **IoT Plug and Play Settings**.
82+
1. Confirm that there's an existing **Public Repository** entry with an endpoint of `https://devicemodels.azure.com`.
83+
> [!NOTE]
84+
> If there's not an entry the public repository, select **+Add**, select **Public repository** from the drop-down menu, specify the `https://devicemodels.azure.com` endpoint value, and then select **Save**.
85+
86+
The completed entry for the public repository looks like the following screenshot:
8387
8488
:::image type="content" source="media/iot-develop-create-cloud-components/iot-explorer-add-public-repository.png" alt-text="Screenshot of adding the public model repository in IoT Explorer.":::
8589
86-
1. Select **Save**.
8790
8891
### Register a device
8992

0 commit comments

Comments
 (0)