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
iothub.h@89:a2ed767a532e, 2018-06-26 (annotated)
- Committer:
- AzureIoTClient
- Date:
- Tue Jun 26 19:14:28 2018 -0700
- Revision:
- 89:a2ed767a532e
1.2.6
Who changed what in which revision?
User | Revision | Line number | New 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 */ |