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.
Diff: simplesample_http.c
- Revision:
- 49:6f4fa05511db
- Parent:
- 42:fc9ef8d266b3
- Child:
- 51:718bee5b02c2
--- a/simplesample_http.c Thu Sep 22 18:18:44 2016 -0700 +++ b/simplesample_http.c Thu Oct 20 17:10:05 2016 -0700 @@ -12,7 +12,7 @@ and removing calls to _DoWork will yield the same results. */ #ifdef ARDUINO -#include "AzureIoT.h" +#include "AzureIoTHub.h" #else #include "azure_c_shared_utility/threadapi.h" #include "azure_c_shared_utility/platform.h"