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
@@ -114,7 +114,7 @@ In this section, you create a Python app that creates a device identity and a mo
114
114
1. At your command prompt, run the following command:
115
115
116
116
```cmd/sh
117
-
python AddModule.py
117
+
python CreateModule.py
118
118
```
119
119
120
120
This app creates a device identity with ID **myFirstDevice** and a module identity with ID **myFirstModule** under device **myFirstDevice**. (If that module ID already exists in the identity registry, the code simply retrieves the existing module information.) The app then displays the primary key for that identity. You use this key in the simulated module app to connect to your IoT hub.
@@ -173,7 +173,7 @@ In this section, you create a Python app that updates the module twin desired pr
173
173
174
174
## Get updates on the device side
175
175
176
-
You can use the following code to get the module twin update patch on your device.
176
+
In this section, you create a Python app to get the module twin desired properties update on your device.
177
177
178
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.
179
179
@@ -226,6 +226,32 @@ You can use the following code to get the module twin update patch on your devic
226
226
iothub_client_sample_run()
227
227
```
228
228
229
+
## Run the apps
230
+
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.
0 commit comments