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:
54:6dcad9019a64
Parent:
53:1e5a1ca1f274
Child:
55:59b527ab3452
--- a/iothub_client_ll.c	Wed Nov 16 21:37:53 2016 -0800
+++ b/iothub_client_ll.c	Wed Dec 14 15:59:51 2016 -0800
@@ -44,7 +44,7 @@
     void* conStatusUserContextCallback;
     time_t lastMessageReceiveTime;
     TICK_COUNTER_HANDLE tickCounter; /*shared tickcounter used to track message timeouts in waitingToSend list*/
-    uint64_t currentMessageTimeout;
+    tickcounter_ms_t currentMessageTimeout;
     uint64_t current_device_twin_timeout;
     IOTHUB_CLIENT_DEVICE_TWIN_CALLBACK deviceTwinCallback;
     void* deviceTwinContextCallback;
@@ -871,7 +871,7 @@
 
 static void DoTimeouts(IOTHUB_CLIENT_LL_HANDLE_DATA* handleData)
 {
-    uint64_t nowTick;
+    tickcounter_ms_t nowTick;
     if (tickcounter_get_current_ms(handleData->tickCounter, &nowTick) != 0)
     {
         LogError("unable to get the current ms, timeouts will not be processed");
@@ -1292,7 +1292,7 @@
         {
             /*this is an option handled by IoTHubClient_LL*/
             /*Codes_SRS_IOTHUBCLIENT_LL_02_043: [ Calling IoTHubClient_LL_SetOption with value set to "0" shall disable the timeout mechanism for all new messages. ]*/
-            handleData->currentMessageTimeout = *(const uint64_t*)value;
+            handleData->currentMessageTimeout = *(const tickcounter_ms_t*)value;
             result = IOTHUB_CLIENT_OK;
         }
         else