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:
78:74a8d3068204
Parent:
77:e4e36df9caee
Child:
80:db5f5237bc95
--- a/iothub_client_ll.c	Sat Oct 21 20:11:49 2017 +0000
+++ b/iothub_client_ll.c	Fri Nov 03 13:18:25 2017 -0700
@@ -21,8 +21,8 @@
 #include "iothub_client_diagnostic.h"
 #include <stdint.h>
 
-#ifdef USE_DPS_MODULE
-#include "iothub_client_dps_ll.h"
+#ifdef USE_PROV_MODULE
+#include "iothub_client_hsm_ll.h"
 #endif
 
 #ifndef DONT_USE_UPLOADTOBLOB
@@ -520,7 +520,7 @@
     }
     else
     {
-#ifdef USE_DPS_MODULE
+#ifdef USE_PROV_MODULE
         IOTHUB_CLIENT_CONFIG* config = (IOTHUB_CLIENT_CONFIG*)malloc(sizeof(IOTHUB_CLIENT_CONFIG));
         if (config == NULL)
         {
@@ -603,7 +603,7 @@
             free(config);
         }
 #else
-        LogError("DPS module is not included");
+        LogError("HSM module is not included");
         result = NULL;
 #endif
     }
@@ -994,7 +994,7 @@
     }
     else
     {
-        /*Codes_SRS_IOTHUBCLIENT_LL_02_039: [ "messageTimeout" - once IoTHubClient_LL_SendEventAsync is called the message shall timeout after value miliseconds. Value is a pointer to a uint64. ]*/
+        /*Codes_SRS_IOTHUBCLIENT_LL_02_039: [ "messageTimeout" - once IoTHubClient_LL_SendEventAsync is called the message shall timeout after value miliseconds. Value is a pointer to a tickcounter_ms_t. ]*/
         if (tickcounter_get_current_ms(handleData->tickCounter, &newEntry->ms_timesOutAfter) != 0)
         {
             result = __FAILURE__;
@@ -1691,7 +1691,7 @@
     {
         IOTHUB_CLIENT_LL_HANDLE_DATA* handleData = (IOTHUB_CLIENT_LL_HANDLE_DATA*)iotHubClientHandle;
 
-        /*Codes_SRS_IOTHUBCLIENT_LL_02_039: [ "messageTimeout" - once IoTHubClient_LL_SendEventAsync is called the message shall timeout after value miliseconds. Value is a pointer to a uint64. ]*/
+        /*Codes_SRS_IOTHUBCLIENT_LL_02_039: [ "messageTimeout" - once IoTHubClient_LL_SendEventAsync is called the message shall timeout after value miliseconds. Value is a pointer to a tickcounter_ms_t. ]*/
         if (strcmp(optionName, OPTION_MESSAGE_TIMEOUT) == 0)
         {
             /*this is an option handled by IoTHubClient_LL*/