corrected version (with typedef struct IOTHUB_CLIENT_LL_UPLOADTOBLOB_HANDLE_DATA* IOTHUB_CLIENT_LL_UPLOADTOBLOB_HANDLE;) included in the sources
Dependents: STM32F746_iothub_client_sample_mqtt
Fork of iothub_client by
Diff: iothub_client_ll.c
- 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);