![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Temperature sensor anomaly IoTHub sample
Dependencies: C12832 EthernetInterface LM75B NTPClient iothub_client iothub_http_transport mbed-rtos mbed serializer wolfSSL azure_c_shared_utility
This sample showcases the usage of Azure IoT client libraries to build an application sample that uploads temperature data and reacts to an alert for a temperature anomaly sent by a cloud service.
Diff: main.cpp
- Revision:
- 22:7a1416b3c440
- Parent:
- 20:824746bcf93c
- Child:
- 25:0e41808cdb35
--- a/main.cpp Fri Jan 29 22:39:16 2016 +0000 +++ b/main.cpp Fri Jan 29 17:16:44 2016 -0800 @@ -251,10 +251,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);