Microsoft Azure IoTHub client AMQP transport

Dependents:   sht15_remote_monitoring RobotArmDemo iothub_client_sample_amqp iothub_client_sample_amqp ... more

This library implements the AMQP transport for Microsoft Azure IoTHub client. The code is replicated from https://github.com/Azure/azure-iot-sdks

Files at this revision

API Documentation at this revision

Comitter:
AzureIoTClient
Date:
Thu Oct 04 09:14:47 2018 -0700
Parent:
56:8704100b3b54
Commit message:
1.2.10

Changed in this revision

uamqp_messaging.c Show annotated file Show diff for this revision Revisions of this file
diff -r 8704100b3b54 -r 56ac1346c70d uamqp_messaging.c
--- a/uamqp_messaging.c	Tue Sep 11 11:11:47 2018 -0700
+++ b/uamqp_messaging.c	Thu Oct 04 09:14:47 2018 -0700
@@ -729,7 +729,7 @@
                     LogError("Failed to get value of uAMQP message 'message-id' property (UUID)");
                     string_value = NULL;
                 }
-                else if ((string_value = UUID_to_string((UUID_T*)uuid_value)) == NULL)
+                else if ((string_value = UUID_to_string((const UUID_T*)uuid_value)) == NULL)
                 {
                     // Codes_SRS_UAMQP_MESSAGING_09_015: [If message-id fails to be obtained, message_create_IoTHubMessage_from_uamqp_message() shall fail and return immediately.]
                     LogError("Failed to get the string representation of 'message-id' UUID");
@@ -848,7 +848,7 @@
                     LogError("Failed to get value of uAMQP message 'correlation-id' property (UUID)");
                     string_value = NULL;
                 }
-                else if ((string_value = UUID_to_string((UUID_T*)uuid_value)) == NULL)
+                else if ((string_value = UUID_to_string((const UUID_T*)uuid_value)) == NULL)
                 {
                     // Codes_SRS_UAMQP_MESSAGING_09_023: [If correlation-id fails to be obtained, message_create_IoTHubMessage_from_uamqp_message() shall fail and return immediately.]
                     LogError("Failed to get the string representation of 'correlation-id' UUID");