A simple IoTHub sample using HTTP as transport

Dependencies:   EthernetInterface NTPClient iothub_client iothub_http_transport mbed-rtos mbed wolfSSL serializer azure_c_shared_utility

This sample showcases the usage of Azure IoT client libraries with the HTTP transport for sending/receiving raw messages from an IoT Hub.

Revision:
89:e4502f210191
Parent:
78:4b96969617b3
--- a/simplesample_http.c	Thu Jul 12 18:13:10 2018 -0700
+++ b/simplesample_http.c	Tue Sep 11 11:17:43 2018 -0700
@@ -1,6 +1,11 @@
 // Copyright (c) Microsoft. All rights reserved.
 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
 
+//
+// IMPORTANT: Please read and understand serializer limitations and alternatives as
+//            described ../../readme.md before beginning to use the serializer.
+//
+
 #include <stdlib.h>
 
 #include <stdio.h>
@@ -123,7 +128,7 @@
         else
         {
             EXECUTE_COMMAND_RESULT executeCommandResult;
-        
+
             (void)memcpy(temp, buffer, size);
             temp[size] = '\0';
             executeCommandResult = EXECUTE_COMMAND(userContextCallback, temp);
@@ -164,7 +169,7 @@
             }
             else
             {
-                // Because it can poll "after 9 seconds" polls will happen 
+                // Because it can poll "after 9 seconds" polls will happen
                 // effectively at ~10 seconds.
                 // Note that for scalabilty, the default value of minimumPollingTime
                 // is 25 minutes. For more information, see: