title | description | author | ms.author | ms.service | services | ms.topic | ms.custom | ms.date | zone_pivot_groups | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Quickstart - Control a device from Azure IoT Hub | Microsoft Docs |
In this quickstart, you run two sample applications. One application is a service application that can remotely control devices connected to your hub. The other application simulates a device connected to your hub that can be controlled remotely. |
kgremban |
kgremban |
iot-hub |
iot-hub |
quickstart |
|
02/25/2022 |
iot-hub-set1 |
In this quickstart, you use a direct method to control a simulated device connected to your IoT hub. IoT Hub is an Azure service that lets you manage your IoT devices from the cloud and ingest high volumes of device telemetry to the cloud for storage or processing. You can use direct methods to remotely change the behavior of devices connected to your IoT hub.
:::zone pivot="programming-language-csharp"
[!INCLUDE quickstart-control-device-dotnet]
:::zone-end
:::zone pivot="programming-language-java"
[!INCLUDE quickstart-control-device-java]
:::zone-end
:::zone pivot="programming-language-nodejs"
[!INCLUDE quickstart-control-device-node]
:::zone-end
:::zone pivot="programming-language-python"
[!INCLUDE quickstart-control-device-python]
:::zone-end
[!INCLUDE iot-hub-quickstarts-clean-up-resources]
In this quickstart, you called a direct method on a device from a service application, and responded to the direct method call in a simulated device application.
To learn how to route device-to-cloud messages to different destinations in the cloud, continue to the next tutorial.
[!div class="nextstepaction"] Tutorial: Route telemetry to different endpoints for processing