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:
13:eeda9a817079
Parent:
10:38383e246675
--- a/iothub_client_ll.c	Tue Sep 29 16:16:05 2015 +0000
+++ b/iothub_client_ll.c	Tue Sep 29 17:02:05 2015 -0700
@@ -81,6 +81,8 @@
             config->iotHubSuffix = NULL;
             config->deviceId = NULL;
             config->deviceKey = NULL;
+			/* Codes_SRS_IOTHUBCLIENT_LL_04_002: [If it does not, it shall pass the protocolGatewayHostName NULL.] */
+			config->protocolGatewayHostName = NULL;
 
             if ((connString = STRING_construct(connectionString)) == NULL)
             {
@@ -174,6 +176,7 @@
                                     config->deviceKey = STRING_c_str(deviceKeyString);
                                 }
                             }
+							/* Codes_SRS_IOTHUBCLIENT_LL_04_001: [IoTHubClient_LL_CreateFromConnectionString shall verify the existence of key/value pair GatewayHostName. If it does exist it shall pass the value to IoTHubClient_LL_Create API.] */
                             else if (strcmp(s_token, PROTOCOL_GATEWAY_HOST) == 0)
                             {
                                 protocolGateway = STRING_clone(valueString);