You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -30,9 +30,9 @@ You'll complete the following tasks:
30
30
31
31
## Prerequisites
32
32
33
-
* A PC running Windows 10
34
-
* If you don't have an Azure subscription, [create one for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
33
+
* A PC running Windows 10 or Windows 11
35
34
*[Git](https://git-scm.com/downloads) for cloning the repository
35
+
* If you don't have an Azure subscription, [create one for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
36
36
* Azure CLI. You have two options for running Azure CLI commands in this quickstart:
37
37
* Use the Azure Cloud Shell, an interactive shell that runs CLI commands in your browser. This option is recommended because you don't need to install anything. If you're using Cloud Shell for the first time, sign in to the [Azure portal](https://portal.azure.com). Follow the steps in [Cloud Shell quickstart](../cloud-shell/quickstart.md) to **Start Cloud Shell** and **Select the Bash environment**.
38
38
* Optionally, run Azure CLI on your local machine. If Azure CLI is already installed, run `az upgrade` to upgrade the CLI and extensions to the current version. To install Azure CLI, see [Install Azure CLI](/cli/azure/install-azure-cli).
@@ -111,7 +111,7 @@ To create an IoT hub:
111
111
112
112
1. Run the [az iot hub create](/cli/azure/iot/hub#az-iot-hub-create) command to create an IoT hub. It might take a few minutes to create an IoT hub.
113
113
114
-
*YourIotHubName*. Replace this placeholder below with the name you chose for your IoT hub. An IoT hub name must be globally unique in Azure. This placeholder is used in the rest of this quickstart to represent your unique IoT hub name.
114
+
*YourIotHubName*. Replace this placeholder in the code with the name you chose for your IoT hub. An IoT hub name must be globally unique in Azure. This placeholder is used in the rest of this quickstart to represent your unique IoT hub name.
115
115
116
116
The `--sku F1` parameter creates the IoT hub in the Free tier. Free tier hubs have a limited feature set and are used for proof of concept applications. For more information on IoT Hub tiers, features, and pricing, see [Azure IoT Hub pricing](https://azure.microsoft.com/pricing/details/iot-hub).
117
117
@@ -125,7 +125,7 @@ To create an IoT hub:
125
125
126
126
### Configure IoT Explorer
127
127
128
-
In the rest of this quickstart, you'll use IoT Explorer to register a device to your IoT hub, to view the device properties and telemetry, and to send commands to your device. In this section, you configure IoT Explorer to connect to the IoT hub you just created and to read plug and play models from the public model repository.
128
+
In the rest of this quickstart, you'll use IoT Explorer to register a device to your IoT hub, to view the device properties and telemetry, and to send commands to your device. In this section, you configure IoT Explorer to connect to your IoT hub and to read plug and play models from the public model repository.
129
129
130
130
To add a connection to your IoT hub:
131
131
@@ -203,9 +203,9 @@ To connect the MXCHIP DevKit to Azure, you'll modify a configuration file for Wi
Keep Termite open to monitor device output in the following steps.
288
302
289
303
## View device properties
290
304
291
-
You can use Azure IoT Explorer to view and manage the properties of your devices. In this section and the following sections, you'll use the Plug and Play capabilities that surfaced in IoT Explorer to manage and interact with the MXCHIP DevKit. These capabilities rely on the device model published forthe MXCHIP DevKitin the public model repository. You configured IoT Explorer to search this repository fordevice models earlierin this quickstart. In many cases, you can perform the same action without using plug and play by selecting the same action from the left side menu of your device pane in IoT Explorer. However, using plug and play often provides an enhanced experience. This is because IoT Explorer can read the device model specified by a plug and play device and present information specific to that device.
305
+
You can use Azure IoT Explorer to view and manage the properties of your devices. In this section and the following sections, you'll use the Plug and Play capabilities that surfaced in IoT Explorer to manage and interact with the MXCHIP DevKit. These capabilities rely on the device model published forthe MXCHIP DevKitin the public model repository. You configured IoT Explorer to search this repository fordevice models earlierin this quickstart. You can perform many actions without using plug and play by selecting the action from the left side menu of your device pane in IoT Explorer. However, using plug and play often provides an enhanced experience. IoT Explorer can read the device model specified by a plug and play device and present information specific to that device.
292
306
293
307
To access IoT Plug and Play components forthe devicein IoT Explorer:
294
308
@@ -306,14 +320,12 @@ To access IoT Plug and Play components for the device in IoT Explorer:
306
320
| Tab | Type | Name | Description |
307
321
|---|---|---|---|
308
322
|**Interface**| Interface |`MXCHIP Getting Started Guide`| Example model for the MXCHIP DevKit |
309
-
|**Properties (read-only)**| Property |--| The model currently doesn't have any read-only properties |
323
+
|**Properties (read-only)**| Property |`ledState`| The current state of the LED|
310
324
|**Properties (writable)**| Property |`telemetryInterval`| The interval that the device sends telemetry |
311
325
|**Commands**| Command |`setLedState`| Turn the LED on or off |
312
-
| **Telemetry** | Telemetry | `temperature` | The temperature in Celsius |
313
326
314
327
To view device properties using Azure IoT Explorer:
315
328
316
-
1. Select the **Properties (read-only)** tab. Currently, there aren't any read-only properties exposed by the device model.
317
329
1. Select the **Properties (writable)** tab. It displays the interval that telemetry is sent.
318
330
1. Change the `telemetryInterval` to *5*, and thenselect**Update desired value**. Your device now uses this interval to send telemetry.
319
331
@@ -324,10 +336,10 @@ To view device properties using Azure IoT Explorer:
324
336
325
337
To use Azure CLI to view device properties:
326
338
327
-
1. Run the [az iot hub device-identity show](/cli/azure/iot/hub/device-identity#az-iot-hub-device-identity-show) command.
339
+
1. Run the [az iot hub device-twin show](/cli/azure/iot/hub/device-twin#az-iot-hub-device-twin-show) command.
328
340
329
341
```azurecli
330
-
az iot hub device-identity show --device-id mydevice --hub-name {YourIoTHubName}
342
+
az iot hub device-twin show --device-id mydevice --hub-name {YourIoTHubName}
331
343
```
332
344
333
345
1. Inspect the properties foryour devicein the console output.
@@ -436,7 +448,7 @@ If you no longer need the Azure resources created in this quickstart, you can us
436
448
437
449
To delete a resource group by name:
438
450
439
-
1. Run the [az group delete](/cli/azure/group#az-group-delete) command. This removes the resource group, the IoT Hub, and the device registration you created.
451
+
1. Run the [az group delete](/cli/azure/group#az-group-delete) command. This command removes the resource group, the IoT Hub, and the device registration you created.
440
452
441
453
```azurecli-interactive
442
454
az group delete --name MyResourceGroup
@@ -452,14 +464,13 @@ To delete a resource group by name:
452
464
453
465
In this quickstart, you built a custom image that contains Azure RTOS sample code, and then flashed the image to the MXCHIP DevKit device. You also used the Azure CLI and/or IoT Explorer to create Azure resources, connect the MXCHIP DevKit securely to Azure, view telemetry, and send messages.
454
466
455
-
As a next step, explore the following articles to learn more about using the IoT device SDKs to connect devices to Azure IoT.
467
+
As a next step, explore the following articles to learn more about using the IoT device SDKs to connect general devices, and embedded devices, to Azure IoT.
456
468
457
469
> [!div class="nextstepaction"]
458
-
> [Connect an MXCHIP AZ3166 devkit to IoT Central](quickstart-devkit-mxchip-az3166.md)
459
-
> [!div class="nextstepaction"]
460
-
> [Connect a simulated device to IoT Central](quickstart-send-telemetry-central.md)
470
+
> [Connect a general simulated device to IoT Hub](quickstart-send-telemetry-iot-hub.md)
471
+
461
472
> [!div class="nextstepaction"]
462
-
> [Connect a simulated device to IoT Hub](quickstart-send-telemetry-iot-hub.md)
473
+
> [Learn more about connecting embedded devices using C SDK and Embedded C SDK](concepts-using-c-sdk-and-embedded-c-sdk.md)
463
474
464
475
> [!IMPORTANT]
465
476
> Azure RTOS provides OEMs with components to secure communication and to create code and data isolation using underlying MCU/MPU hardware protection mechanisms. However, each OEM is ultimately responsible for ensuring that their device meets evolving security requirements.
0 commit comments