Skip to content

Commit a1b23ab

Browse files
committed
Clarified routing statements
1 parent 2fc0596 commit a1b23ab

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

articles/iot-edge/module-development.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,19 @@ An IoT Edge module can send messages to the cloud via the IoT Edge hub that acts
5252

5353
To send device-to-cloud telemetry messages using routes:
5454

55-
* Use ModuleClient of the [Azure IoT SDK](https://github.com/Azure/azure-iot-sdks). Each module has *input* and *output* endpoints.
56-
* Use the `ModuleClient.sendMessageAsync` method (or equivalent in your preferred language) to send messages on the output endpoint of your module.
57-
* Configure a route in edgeHub to send this output endpoint to IoT Hub.
55+
* Use the Module Client class of the [Azure IoT SDK](https://github.com/Azure/azure-iot-sdks). Each module has *input* and *output* endpoints.
56+
* Use a send message method from your Module Client class to send messages on the output endpoint of your module.
57+
* Set up a route in the edgeHub module of your device to send this output endpoint to IoT Hub.
5858

5959
To process messages using routes:
6060

6161
* Set up a route to send messages coming from another endpoint (module or device) to the input endpoint of your module.
6262
* Listen for messages on the input endpoint of your module. Each time a new message comes back, a callback function is triggered by the Azure IoT SDK.
6363
* Process your message with this callback function and (optionally) send new messages in your module endpoint queue.
6464

65+
>[!NOTE]
66+
> To learn more about declaring a route, see [Learn how to deploy modules and establish routes in IoT Edge](module-composition.md#declare-routes)
67+
6568
#### Twins
6669

6770
Twins are one of the primitives provided by IoT Hub. There are JSON documents that store state information including metadata, configurations, and conditions. Each module or device has its own twin.

0 commit comments

Comments
 (0)