Skip to content

Commit 36b12f8

Browse files
committed
grammar, acrolinx
1 parent 6a07ace commit 36b12f8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/iot-hub/iot-hub-python-python-module-twin-getstarted.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ At the end of this tutorial, you have three Python apps:
4444

4545
## Create a device identity and a module identity in IoT Hub
4646

47-
In this section, you create a Python app that creates a device identity and a module identity in the identity registry in your IoT hub. A device or module cannot connect to IoT hub unless it has an entry in the identity registry. For more information, see the [Identity registry section of the IoT Hub developer guide](iot-hub-devguide-identity-registry.md). When you run this console app, it generates a unique ID and key for both device and module. Your device and module use these values to identify itself when it sends device-to-cloud messages to IoT Hub. The IDs are case-sensitive.
47+
In this section, you create a Python app that creates a device identity and a module identity in the identity registry in your IoT hub. A device or module can't connect to IoT hub unless it has an entry in the identity registry. For more information, see the [Identity registry section of the IoT Hub developer guide](iot-hub-devguide-identity-registry.md). When you run this console app, it generates a unique ID and key for both device and module. Your device and module use these values to identify itself when it sends device-to-cloud messages to IoT Hub. The IDs are case-sensitive.
4848

4949
1. At your command prompt, run the following command to install the **azure-iot-hub** package:
5050

@@ -175,7 +175,7 @@ In this section, you create a Python app that updates the module twin desired pr
175175
176176
In this section, you create a Python app to get the module twin desired properties update on your device.
177177
178-
1. Get your module connection string. In [Azure portal](https://portal.azure.com/), navigate to your IoT Hub and select **IoT devices** on the left pane. Select **myFirstDevice** from the list of devices and open it. Under **Module identities** select **myFirstModule**. Copy the module connection string. You need it in a following step.
178+
1. Get your module connection string. In [Azure portal](https://portal.azure.com/), navigate to your IoT Hub and select **IoT devices** on the left pane. Select **myFirstDevice** from the list of devices and open it. Under **Module identities**, select **myFirstModule**. Copy the module connection string. You need it in a following step.
179179
180180
![Azure portal module detail](./media/iot-hub-python-python-module-twin-getstarted/module-detail.png)
181181
@@ -228,17 +228,17 @@ In this section, you create a Python app to get the module twin desired properti
228228
229229
## Run the apps
230230
231-
In this section you run the **ReceiveModuleTwinDesiredPropertiesPatch** app on your device and then run the **UpdateModuleTwinDesiredProperties** app to update the desired properties of your module.
231+
In this section, you run the **ReceiveModuleTwinDesiredPropertiesPatch** device app and then run the **UpdateModuleTwinDesiredProperties** service app to update the desired properties of your module.
232232
233-
1. Open a command window and run the device app:
233+
1. Open a command prompt and run the device app:
234234
235235
```cmd/sh
236236
python ReceiveModuleTwinDesiredPropertiesPatch.py
237237
```
238238
239239
![Device app initial output](./media/iot-hub-python-python-module-twin-getstarted/device-1.png)
240240
241-
1. In a separate command window, run the service app:
241+
1. Open a separate command prompt and run the service app:
242242
243243
```cmd/sh
244244
python UpdateModuleTwinDesiredProperties.py
@@ -248,7 +248,7 @@ In this section you run the **ReceiveModuleTwinDesiredPropertiesPatch** app on y
248248
249249
![Service app output](./media/iot-hub-python-python-module-twin-getstarted/service.png)
250250
251-
And the receipt of the same property appears in the desired properties patch in the output of your device app:
251+
The same property appears in the desired properties patch received in your device app output:
252252
253253
![Device app output shows desired properties patch](./media/iot-hub-python-python-module-twin-getstarted/device-2.png)
254254

0 commit comments

Comments
 (0)