Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
iothub_deviceconfiguration_sample Untabify, remove trailing spaces, add new line at the end of the file Sep 7, 2018
iothub_devicemethod_sample Untabify, remove trailing spaces, add new line at the end of the file Sep 7, 2018
iothub_devicetwin_sample Untabify, remove trailing spaces, add new line at the end of the file Sep 7, 2018
iothub_messaging_ll_sample Untabify, remove trailing spaces, add new line at the end of the file Sep 7, 2018
iothub_messaging_sample
iothub_registrymanager_sample
CMakeLists.txt
readme.md Adding module support Jun 26, 2018

readme.md

Samples for the Azure IoT service SDK for C

This folder contains simple samples showing how to use the various features of the Microsoft Azure IoT Hub service from a back-end application running C code.

List of samples

  • Simple send of Cloud to Device messages:

    • iothub_messaging_sample: send Cloud to Device message and monitor feedback
    • iothub_messaging_ll_sample: send Cloud to Device message and monitor feedback using lower layer API of the SDK
  • Device Registry:

    • iothub_registrymanager_sample: Shows how to use CRUD operations on the device registry
  • Device services samples (Device Twins, Methods, and Device Management):

    • iothub_deviceconfiguration_sample: Shows how to work with device Configurations in a back-end application
    • iothub_devicemethod_sample: Shows how to invoke a Cloud to Device direct Method from a back-end application
    • iothub_devicetwin_sample: Shows how to work with device Twins in a back-end application

How to compile and run the samples

Prior to running the samples, you will need to have an instance of Azure IoT Hub available.

This documents describes in details how to prepare you development environment as well as how to run the samples on Linux, Windows or other platforms.

You can’t perform that action at this time.