Azure IoT / Mbed 2 deprecated remote_monitoring

Dependencies:   azure_c_shared_utility EthernetInterface NTPClient iothub_amqp_transport iothub_client mbed-rtos mbed azure_uamqp_c serializer wolfSSL

Revision:
22:afe08a0ed332
Parent:
20:ea66de0f1a06
Child:
23:ff89811f3fa3
--- a/remote_monitoring.c	Fri Oct 23 01:42:00 2015 +0000
+++ b/remote_monitoring.c	Fri Nov 13 16:08:20 2015 -0800
@@ -224,7 +224,7 @@
 
 						(void)printf("Sending sensor value Temperature = %02f, Humidity = %02f\r\n", thermostat->Temperature, thermostat->Humidity);
 
-                        if (SERIALIZE(&buffer, &bufferSize, thermostat->Temperature, thermostat->ExternalTemperature, thermostat->Humidity, thermostat->DeviceId) != IOT_AGENT_OK)
+                        if (SERIALIZE(&buffer, &bufferSize, thermostat->DeviceId, thermostat->Temperature, thermostat->Humidity, thermostat->ExternalTemperature) != IOT_AGENT_OK)
                         {
                             (void)printf("Failed sending sensor value\r\n");
                         }