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

Revision:
15:d446b73a913d
Parent:
14:8e8e42008807
Child:
16:a49121e2300b
--- a/iothubtransportamqp.c	Mon May 09 14:36:31 2016 -0700
+++ b/iothubtransportamqp.c	Mon May 23 07:35:02 2016 -0700
@@ -325,7 +325,7 @@
 	int return_value;
 	PROPERTIES_HANDLE uamqp_message_properties;
 	AMQP_VALUE uamqp_message_property;
-	char* uamqp_message_property_value;
+	const char* uamqp_message_property_value;
 	int api_call_result;
 
 	/* Codes_SRS_IOTHUBTRANSPORTAMQP_09_155: [uAMQP message properties shall be retrieved using message_get_properties.] */
@@ -398,7 +398,7 @@
 {
 	int result;
 	AMQP_VALUE uamqp_app_properties;
-	int property_count;
+	uint32_t property_count;
 	MAP_HANDLE iothub_message_properties_map;
 
 	// Codes_SRS_IOTHUBTRANSPORTAMQP_09_170: [The IOTHUB_MESSAGE_HANDLE properties shall be retrieved using IoTHubMessage_Properties.]
@@ -442,8 +442,8 @@
 		{
 			AMQP_VALUE map_key_name;
 			AMQP_VALUE map_key_value;
-			char *key_name;
-			char* key_value;
+			const char *key_name;
+			const char* key_value;
 
 			// Codes_SRS_IOTHUBTRANSPORTAMQP_09_178: [The uAMQP application property name and value shall be obtained using amqpvalue_get_map_key_value_pair.]
 			if ((result = amqpvalue_get_map_key_value_pair(uamqp_app_properties, i, &map_key_name, &map_key_value)) != 0)