|
11 | 11 |
|
12 | 12 | [](https://github.com/Azure/azure-iot-sdk-c/tree/master/iothub_client/samples/pnp)
|
13 | 13 |
|
14 |
| -In this quickstart, you learn a basic Azure IoT application development workflow. You use the Azure CLI and IoT Explorer to create an Azure IoT hub and a device. Then you use an Azure IoT device SDK sample to run a simulated temperature controller, connect it securely to the hub, and send telemetry. |
| 14 | +In this quickstart, you learn a basic Azure IoT application development workflow. You use the Azure CLI and IoT Explorer to create an Azure IoT hub and a device. Then you use an Azure IoT device SDK sample to run a temperature controller, connect it securely to the hub, and send telemetry. The temperature controller sample application runs on your local machine and generates simulated sensor data to send to IoT Hub. |
15 | 15 |
|
16 | 16 | ## Prerequisites
|
17 | 17 | This quickstart runs on Windows, Linux, and Raspberry Pi. It's been tested on the following OS and device versions:
|
@@ -59,8 +59,8 @@ To complete this quickstart on Windows, install Visual Studio 2019 and add the r
|
59 | 59 |
|
60 | 60 | [!INCLUDE [iot-hub-include-create-hub-iot-explorer](iot-hub-include-create-hub-iot-explorer.md)]
|
61 | 61 |
|
62 |
| -## Run a simulated device |
63 |
| -In this section, you use the C SDK to send messages from a simulated device to your IoT hub. You'll run a sample that implements a temperature controller with two thermostat sensors. |
| 62 | +## Run a device |
| 63 | +In this section, you use the C SDK to send messages from a device to your IoT hub. You'll run a sample that implements a temperature controller with two thermostat sensors. |
64 | 64 |
|
65 | 65 | ### Build the sample
|
66 | 66 | 1. Open a new console to install the Azure IoT C device SDK and run the code sample. For Windows, select **Start**, type *Developer Command Prompt for VS 2019*, and open the console. For Linux and Raspberry Pi OS, open a terminal for Bash commands.
|
@@ -88,7 +88,7 @@ In this section, you use the C SDK to send messages from a simulated device to y
|
88 | 88 | cmake -Bcmake -Duse_prov_client=ON -Dhsm_type_symm_key=ON -Drun_e2e_tests=OFF
|
89 | 89 | cmake --build cmake
|
90 | 90 | ```
|
91 |
| -1. Set the following environment variables, to enable your simulated device to connect to Azure IoT. |
| 91 | +1. Set the following environment variables, to enable your device to connect to Azure IoT. |
92 | 92 | * Set an environment variable called `IOTHUB_DEVICE_CONNECTION_STRING`. For the variable value, use the device connection string that you saved in the previous section.
|
93 | 93 | * Set an environment variable called `IOTHUB_DEVICE_SECURITY_TYPE`. For the variable, use the literal string value `connectionString`.
|
94 | 94 |
|
@@ -150,7 +150,7 @@ To read telemetry sent by individual device components, you can use the plug and
|
150 | 150 |
|
151 | 151 | To view device telemetry with Azure CLI:
|
152 | 152 |
|
153 |
| -1. Run the [az iot hub monitor-events](/cli/azure/iot/hub#az_iot_hub_monitor_events) command to monitor events sent from the simulated device to your IoT hub. Use the names that you created previously in Azure IoT for your device and IoT hub. |
| 153 | +1. Run the [az iot hub monitor-events](/cli/azure/iot/hub#az_iot_hub_monitor_events) command to monitor events sent from the device to your IoT hub. Use the names that you created previously in Azure IoT for your device and IoT hub. |
154 | 154 |
|
155 | 155 | ```azurecli
|
156 | 156 | az iot hub monitor-events --output table --device-id mydevice --hub-name {YourIoTHubName}
|
|
0 commit comments