Remote monitoring IoTHub device sample Added real SHTx sensor to get temperature and humidity Added new command to set temperature scale change Removed "mock" commands to set temperature and humidity values It's configured to work on FRDM-K64F board

Dependencies:   EthernetInterface NTPClient SHTx iothub_amqp_transport iothub_client mbed-rtos mbed proton-c-mbed serializer wolfSSL

Fork of remote_monitoring by Azure IoT

Revision:
15:4a41d2a27a8c
Parent:
9:a43d30a74a1b
diff -r 7347c29d9a07 -r 4a41d2a27a8c main.cpp
--- a/main.cpp	Mon Sep 28 17:05:24 2015 +0000
+++ b/main.cpp	Mon Sep 28 18:34:50 2015 -0700
@@ -44,6 +44,10 @@
 {
     (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 (EthernetInterface::init())
 	{
 		(void)printf("Error initializing EthernetInterface.\r\n");