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
Diff: iothub_client.h
- Revision:
- 88:248736be106e
- Parent:
- 82:f94e6bed4495
- Child:
- 89:a2ed767a532e
--- a/iothub_client.h Fri May 04 13:24:17 2018 -0700 +++ b/iothub_client.h Mon Jun 11 15:39:23 2018 -0700 @@ -15,17 +15,21 @@ #ifndef IOTHUB_CLIENT_H #define IOTHUB_CLIENT_H +#include <stddef.h> +#include <stdint.h> + +#include "azure_c_shared_utility/umock_c_prod.h" + +#include "iothub_transport_ll.h" +#include "iothub_client_core_ll.h" +#include "iothub_client_core.h" +#include "iothub_client_ll.h" + #ifndef IOTHUB_CLIENT_INSTANCE_TYPE -typedef struct IOTHUB_CLIENT_INSTANCE_TAG* IOTHUB_CLIENT_HANDLE; +typedef IOTHUB_CLIENT_CORE_HANDLE IOTHUB_CLIENT_HANDLE; #define IOTHUB_CLIENT_INSTANCE_TYPE #endif // IOTHUB_CLIENT_INSTANCE -#include "iothubtransport.h" -#include <stddef.h> -#include <stdint.h> - -#include "iothub_client_ll.h" -#include "azure_c_shared_utility/umock_c_prod.h" #ifdef __cplusplus extern "C" @@ -258,11 +262,11 @@ * keep alive interval for given time. * If it is not set then the default 240 sec applies. * If it is set to zero the server will not send keep alive messages to the client. - * - @b cl2svc_keep_alive_send_ratio - the AMQP client side keep alive interval in seconds. - * After the connection established the server requests the client to set the - * keep alive interval for given time. - * If it is not set then the default ratio of 1/2 is applied. - * The ratio has to be greater than 0.0 and equal to or less than 0.9 + * - @b cl2svc_keep_alive_send_ratio - the AMQP client side keep alive interval in seconds. + * After the connection established the server requests the client to set the + * keep alive interval for given time. + * If it is not set then the default ratio of 1/2 is applied. + * The ratio has to be greater than 0.0 and equal to or less than 0.9 * @return IOTHUB_CLIENT_OK upon success or an error code upon failure. */