Microsoft Azure IoTHub client libraries

Dependents:   sht15_remote_monitoring RobotArmDemo iothub_client_sample_amqp f767zi_mqtt ... more

This library implements the Microsoft Azure IoTHub client library. The code is replicated from https://github.com/Azure/azure-iot-sdks

Committer:
AzureIoTClient
Date:
Thu Oct 04 09:15:49 2018 -0700
Revision:
93:7c0bbb86b167
Parent:
89:a2ed767a532e
1.2.10

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AzureIoTClient 89:a2ed767a532e 1 // Copyright (c) Microsoft. All rights reserved.
AzureIoTClient 89:a2ed767a532e 2 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
AzureIoTClient 89:a2ed767a532e 3
AzureIoTClient 89:a2ed767a532e 4 #ifndef IOTHUB_H
AzureIoTClient 89:a2ed767a532e 5 #define IOTHUB_H
AzureIoTClient 89:a2ed767a532e 6
AzureIoTClient 89:a2ed767a532e 7 #include "azure_c_shared_utility/umock_c_prod.h"
AzureIoTClient 89:a2ed767a532e 8
AzureIoTClient 89:a2ed767a532e 9 #ifdef __cplusplus
AzureIoTClient 89:a2ed767a532e 10 extern "C"
AzureIoTClient 89:a2ed767a532e 11 {
AzureIoTClient 89:a2ed767a532e 12 #else
AzureIoTClient 89:a2ed767a532e 13 #endif
AzureIoTClient 89:a2ed767a532e 14 /**
AzureIoTClient 89:a2ed767a532e 15 * @brief IoTHubClient_Init Initializes the IoTHub Client System.
AzureIoTClient 89:a2ed767a532e 16 *
AzureIoTClient 89:a2ed767a532e 17 * @return int zero upon success, any other value upon failure.
AzureIoTClient 89:a2ed767a532e 18 */
AzureIoTClient 89:a2ed767a532e 19 MOCKABLE_FUNCTION(, int, IoTHub_Init);
AzureIoTClient 89:a2ed767a532e 20
AzureIoTClient 89:a2ed767a532e 21 /**
AzureIoTClient 89:a2ed767a532e 22 * @brief IoTHubClient_Deinit Frees resources initialized in the IoTHubClient_Init function call.
AzureIoTClient 89:a2ed767a532e 23 *
AzureIoTClient 89:a2ed767a532e 24 */
AzureIoTClient 89:a2ed767a532e 25 MOCKABLE_FUNCTION(, void, IoTHub_Deinit);
AzureIoTClient 89:a2ed767a532e 26
AzureIoTClient 89:a2ed767a532e 27 #ifdef __cplusplus
AzureIoTClient 89:a2ed767a532e 28 }
AzureIoTClient 89:a2ed767a532e 29 #endif
AzureIoTClient 89:a2ed767a532e 30
AzureIoTClient 89:a2ed767a532e 31 #endif /* IOTHUB_H */