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

Revision:
61:8b85a4e797cf
Parent:
55:59b527ab3452
Child:
62:5a4cdacf5090
--- a/iothub_client_ll.h	Fri Feb 24 14:00:43 2017 -0800
+++ b/iothub_client_ll.h	Fri Mar 10 11:47:36 2017 -0800
@@ -80,6 +80,16 @@
     IOTHUB_PROCESS_CONTINUE
 DEFINE_ENUM(IOTHUB_PROCESS_ITEM_RESULT, IOTHUB_PROCESS_ITEM_RESULT_VALUE);
 
+#define IOTHUBMESSAGE_DISPOSITION_RESULT_VALUES \
+    IOTHUBMESSAGE_ACCEPTED, \
+    IOTHUBMESSAGE_REJECTED, \
+    IOTHUBMESSAGE_ABANDONED
+
+/** @brief Enumeration returned by the callback which is invoked whenever the
+*		   IoT Hub sends a message to the device.
+*/
+DEFINE_ENUM(IOTHUBMESSAGE_DISPOSITION_RESULT, IOTHUBMESSAGE_DISPOSITION_RESULT_VALUES);
+
 #include "azure_c_shared_utility/agenttime.h"
 #include "azure_c_shared_utility/xio.h"
 #include "azure_c_shared_utility/doublylinkedlist.h"
@@ -144,16 +154,6 @@
 
     DEFINE_ENUM(TRANSPORT_TYPE, TRANSPORT_TYPE_VALUES);
 
-#define IOTHUBMESSAGE_DISPOSITION_RESULT_VALUES \
-    IOTHUBMESSAGE_ACCEPTED, \
-    IOTHUBMESSAGE_REJECTED, \
-    IOTHUBMESSAGE_ABANDONED
-
-    /** @brief Enumeration returned by the callback which is invoked whenever the
-    *		   IoT Hub sends a message to the device.
-    */
-    DEFINE_ENUM(IOTHUBMESSAGE_DISPOSITION_RESULT, IOTHUBMESSAGE_DISPOSITION_RESULT_VALUES);
-
 #define DEVICE_TWIN_UPDATE_STATE_VALUES \
     DEVICE_TWIN_UPDATE_COMPLETE, \
     DEVICE_TWIN_UPDATE_PARTIAL
@@ -517,7 +517,6 @@
      */
      MOCKABLE_FUNCTION(, IOTHUB_CLIENT_RESULT, IoTHubClient_LL_SetDeviceMethodCallback_Ex, IOTHUB_CLIENT_LL_HANDLE, iotHubClientHandle, IOTHUB_CLIENT_INBOUND_DEVICE_METHOD_CALLBACK, inboundDeviceMethodCallback, void*, userContextCallback);
 
-
      /**
      * @brief	This API responses to a asnyc method callback identified the methodId.
      *