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: azure_c_shared_utility azure_umqtt_c iothub_client iothub_mqtt_transport serializer wolfSSL
Fork of simplesample_mqtt by
Diff: simplesample_mqtt.c
- Revision:
 - 25:6b2b9feb6dc3
 - Parent:
 - 17:a6f7340182f9
 - Child:
 - 26:3126b9d4187b
 
--- a/simplesample_mqtt.c	Thu Oct 20 17:10:23 2016 -0700
+++ b/simplesample_mqtt.c	Wed Nov 16 21:40:49 2016 -0800
@@ -179,7 +179,7 @@
                         {
                             unsigned char* destination;
                             size_t destinationSize;
-                            if (SERIALIZE(&destination, &destinationSize, myWeather->DeviceId, myWeather->WindSpeed) != IOT_AGENT_OK)
+                            if (SERIALIZE(&destination, &destinationSize, myWeather->DeviceId, myWeather->WindSpeed) != CODEFIRST_OK)
                             {
                                 (void)printf("Failed to serialize\r\n");
                             }
    