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: main.cpp
- Revision:
- 23:39fcc72c3963
- Parent:
- 22:3acb69edee6b
- Child:
- 28:44b1d44d0d3b
diff -r 3acb69edee6b -r 39fcc72c3963 main.cpp --- a/main.cpp Tue Jan 26 17:56:04 2016 -0800 +++ b/main.cpp Thu Jan 28 13:53:16 2016 -0800 @@ -12,10 +12,6 @@ int result; (void)printf("Initializing mbed specific things...\r\n"); - /* These are needed in order to initialize the time provider for Proton-C */ - mbed_log_init(); - mbedtime_init(); - if ((result = platform_init()) != 0) { (void)printf("Error initializing the platform: %d\r\n",result);