Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterface NTPClient SHTx iothub_amqp_transport iothub_client mbed-rtos mbed proton-c-mbed serializer wolfSSL
Fork of remote_monitoring by
Revision 22:afe08a0ed332, committed 2015-11-13
- Comitter:
- AzureIoTClient
- Date:
- Fri Nov 13 16:08:20 2015 -0800
- Parent:
- 21:b10f325a5d55
- Child:
- 23:e37e4e321690
- Commit message:
- v1.0.0-preview.4
Changed in this revision
| remote_monitoring.c | Show annotated file Show diff for this revision Revisions of this file |
--- 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");
}
