Skip to content

Commit d513a48

Browse files
committed
updated screenshots and some text
1 parent c712a57 commit d513a48

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ In this section, you create a Python console app that connects to your hub as yo
190190
print ( "IoT Hub Device Twin device sample stopped" )
191191
```
192192

193-
The **Client** object exposes all the methods you require to interact with device twins from the device. The previous code, after it initializes the **Client** object, retrieves the device twin for your device and updates its reported property with the connectivity information.
193+
The **IoTHubModuleClient** object exposes all the methods you require to interact with device twins from the device. The previous code, after it initializes the **IoTHubModuleClient** object, retrieves the device twin for your device and updates its reported property with the connectivity information.
194194

195195
6. Add the following code at the end of **ReportConnectivity.py** to implement the **iothub_client_sample_run** function:
196196

@@ -208,9 +208,9 @@ In this section, you create a Python console app that connects to your hub as yo
208208
python ReportConnectivity.py
209209
```
210210

211-
You should see confirmation the device twin reported properties were updated. You'll see confirmation that the desired properties twin patch was received after you complete the next step.
211+
You should see confirmation the device twin reported properties were updated.
212212

213-
![update twins](./media/iot-hub-python-twin-getstarted/device-1.png)
213+
![update reported properties from device app](./media/iot-hub-python-twin-getstarted/device-1.png)
214214

215215
8. Now that the device reported its connectivity information, it should appear in both queries. Go back and run the queries again:
216216

@@ -220,7 +220,11 @@ In this section, you create a Python console app that connects to your hub as yo
220220

221221
This time your **{Device ID}** should appear in both query results.
222222

223-
![second query](./media/iot-hub-python-twin-getstarted/service-2.png)
223+
![second query on service app](./media/iot-hub-python-twin-getstarted/service-2.png)
224+
225+
In your device app, you'll see confirmation that the desired properties twin patch sent by the service app was received.
226+
227+
![receive desired properties on device app](./media/iot-hub-python-twin-getstarted/device-2.png)
224228

225229
## Next steps
226230

-2.2 KB
Loading
11.8 KB
Loading
724 Bytes
Loading
724 Bytes
Loading

0 commit comments

Comments
 (0)