Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: iothub_client EthernetInterface iothub_http_transport mbed-rtos mbed wolfSSL azure_c_shared_utility NTPClient
Revision 83:2911682db006, committed 2018-01-17
- Comitter:
- AzureIoTClient
- Date:
- Wed Jan 17 08:59:48 2018 -0800
- Parent:
- 82:031681808c6a
- Commit message:
- 1.1.30
Changed in this revision
--- a/azure_c_shared_utility.lib Fri Dec 15 14:11:44 2017 -0800 +++ b/azure_c_shared_utility.lib Wed Jan 17 08:59:48 2018 -0800 @@ -1,1 +1,1 @@ -https://developer.mbed.org/users/AzureIoTClient/code/azure_c_shared_utility/#f0dc2835e9e0 \ No newline at end of file +https://developer.mbed.org/users/AzureIoTClient/code/azure_c_shared_utility/#ed9c888e5e12 \ No newline at end of file
--- a/iothub_client.lib Fri Dec 15 14:11:44 2017 -0800 +++ b/iothub_client.lib Wed Jan 17 08:59:48 2018 -0800 @@ -1,1 +1,1 @@ -http://mbed.org/users/AzureIoTClient/code/iothub_client/#db5f5237bc95 \ No newline at end of file +http://mbed.org/users/AzureIoTClient/code/iothub_client/#8de701563187 \ No newline at end of file
--- a/iothub_client_sample_http.c Fri Dec 15 14:11:44 2017 -0800
+++ b/iothub_client_sample_http.c Wed Jan 17 08:59:48 2018 -0800
@@ -67,17 +67,15 @@
correlationId = "<null>";
}
- // TODO: re-enable after IoTHubClient nuget package has been released (ewertons)
- //if ((contentType = IoTHubMessage_GetContentTypeSystemProperty(message)) == NULL)
- //{
+ if ((contentType = IoTHubMessage_GetContentTypeSystemProperty(message)) == NULL)
+ {
contentType = "<null>";
- //}
+ }
- // TODO: re-enable after IoTHubClient nuget package has been released (ewertons)
- //if ((contentEncoding = IoTHubMessage_GetContentEncodingSystemProperty(message)) == NULL)
- //{
+ if ((contentEncoding = IoTHubMessage_GetContentEncodingSystemProperty(message)) == NULL)
+ {
contentEncoding = "<null>";
- //}
+ }
// Message content
if (IoTHubMessage_GetByteArray(message, (const unsigned char**)&buffer, &size) != IOTHUB_MESSAGE_OK)
@@ -224,9 +222,8 @@
(void)printf("ERROR: Map_AddOrUpdate Failed!\r\n");
}
- // TODO: re-enable after IoTHubClient nuget package has been released (ewertons)
- //(void)IoTHubMessage_SetContentTypeSystemProperty(messages[iterator].messageHandle, "application/json");
- //(void)IoTHubMessage_SetContentEncodingSystemProperty(messages[iterator].messageHandle, "utf-8");
+ (void)IoTHubMessage_SetContentTypeSystemProperty(messages[iterator].messageHandle, "application/json");
+ (void)IoTHubMessage_SetContentEncodingSystemProperty(messages[iterator].messageHandle, "utf-8");
if (IoTHubClient_LL_SendEventAsync(iotHubClientHandle, messages[iterator].messageHandle, SendConfirmationCallback, &messages[iterator]) != IOTHUB_CLIENT_OK)
{
