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
Diff: iothub_client_sample_http.c
- Revision:
- 41:7a930aa6dc01
- Parent:
- 39:405f9c637ba4
- Child:
- 42:289de245ba1d
diff -r 69682ebd3986 -r 7a930aa6dc01 iothub_client_sample_http.c
--- a/iothub_client_sample_http.c Mon May 23 07:36:47 2016 -0700
+++ b/iothub_client_sample_http.c Tue Jun 07 10:50:25 2016 -0700
@@ -5,9 +5,9 @@
#include <stdlib.h>
/* This sample uses the _LL APIs of iothub_client for example purposes.
- That does not mean that HTTP only works with the _LL APIs.
- Simply changing the using the convenience layer (functions not having _LL)
- and removing calls to _DoWork will yield the same results. */
+That does not mean that HTTP only works with the _LL APIs.
+Simply changing the using the convenience layer (functions not having _LL)
+and removing calls to _DoWork will yield the same results. */
#ifdef ARDUINO
#include "AzureIoT.h"
@@ -43,7 +43,7 @@
int* counter = (int*)userContextCallback;
const char* buffer;
size_t size;
- MAP_HANDLE mapProperties;
+ MAP_HANDLE mapProperties;
if (IoTHubMessage_GetByteArray(message, (const unsigned char**)&buffer, &size) != IOTHUB_MESSAGE_OK)
{
@@ -65,7 +65,7 @@
{
if (propertyCount > 0)
{
- size_t index;
+ size_t index;
printf("Message Properties:\r\n");
for (index = 0; index < propertyCount; index++)
