title | titleSuffix | description | manager | author | ms.author | ms.date | ms.service | ms.custom | ms.topic |
---|---|---|---|---|---|---|---|---|---|
Azure IoT C SDK reference documentation | Microsoft Docs |
Azure IoT C SDK |
This is the overview page for the Azure IoT C SDK reference documentation. This SDK is used with Azure IoT Hub and Azure IoT Hub Device Provisioning Service |
timlt |
wesmc7777 |
wesmc |
03/25/2022 |
iot-hub |
reference |
This is the reference documentation for the Azure IoT C SDKs.
The Microsoft Azure IoT device libraries for C contain code that facilitates building devices and applications that connect to and are managed by Azure IoT Hub services.
The device library consists of a set of reusable components with abstract interfaces that enable pluggability between stock and custom modules.
To meet the wide range of device requirements in the Internet of Things space, the C libraries are provided in source code form to support multiple form factors, operating systems, tools sets, protocols and communications patterns widely in use today.
-
Sends event data to Azure IoT based services.
-
Maps server commands to device functions.
-
Buffers data when network connection is down.
-
Batches messages to improve communication efficiency.
-
Supports pluggable transport protocols. HTTP and AMQP protocols are available now, with more coming soon.
-
Supports pluggable serialization methods. JSON is available now, with more coming soon.
For information on the platforms supported by the Azure IoT SDK, please see the Azure IoT SDKs platform support page in our main documentation set.
-
These libraries are written in ANSI C (C99) to maximize code portability.
-
The libraries avoid compiler extensions.
-
The libraries expose a platform abstraction layer (PAL) to isolate OS dependencies (HTTPAPI, Lock, Threads). For more information using the PAL, see the porting guide.