Search code examples
azurecloudazure-iot-hubazure-resource-groupazure-iot-central

How to i find/create appropriate code to send telemetry to IoT central?


I have been assigned a Case study recently which i have posted. I created 10 data centers as device on Azure IoT central and configured it according to the assigned objective(creating all the necessary sensors and devices to take input in the datacenter)data center monitoring I'm still in learning phase, how do I write the code for this case study in visual studio code so that it sends telemetry to azure IoT central.


Solution

  • The tutorials here show you how to send telemetry to IoT Central - there's a choice of programming languages for you to select from: https://learn.microsoft.com/azure/iot-central/core/tutorial-connect-device

    You can also connect IoT Edge devices to IoT Central - to get started with this take a look at https://learn.microsoft.com/learn/modules/connect-iot-edge-device-to-iot-central/ - if you want more detail on IoT Edge and how to create custom modules with your own code, take a look at the IoT Edge documentation. For example: https://learn.microsoft.com/azure/iot-edge/tutorial-csharp-module