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
Diff: iothubtransportamqp.c
- Revision:
- 53:e21e1e88460f
- Parent:
- 41:71c01aa3df1a
- Child:
- 54:830550fef7ea
--- a/iothubtransportamqp.c Fri May 04 13:22:48 2018 -0700 +++ b/iothubtransportamqp.c Mon Jun 11 15:38:09 2018 -0700 @@ -2,7 +2,7 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "iothubtransportamqp.h" -#include "iothubtransport_amqp_common.h" +#include "internal/iothubtransport_amqp_common.h" #include "azure_c_shared_utility/tlsio.h" #include "azure_c_shared_utility/platform.h" #include "azure_c_shared_utility/xlogging.h" @@ -61,7 +61,7 @@ return IoTHubTransport_AMQP_Common_ProcessItem(handle, item_type, iothub_item); } -static void IoTHubTransportAMQP_DoWork(TRANSPORT_LL_HANDLE handle, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle) +static void IoTHubTransportAMQP_DoWork(TRANSPORT_LL_HANDLE handle, IOTHUB_CLIENT_CORE_LL_HANDLE iotHubClientHandle) { // Codes_SRS_IOTHUBTRANSPORTAMQP_09_015: [IoTHubTransportAMQP_DoWork shall call into the IoTHubTransport_AMQP_Common_DoWork()] IoTHubTransport_AMQP_Common_DoWork(handle, iotHubClientHandle); @@ -120,7 +120,7 @@ return IoTHubTransport_AMQP_Common_SetOption(handle, option, value); } -static IOTHUB_DEVICE_HANDLE IoTHubTransportAMQP_Register(TRANSPORT_LL_HANDLE handle, const IOTHUB_DEVICE_CONFIG* device, IOTHUB_CLIENT_LL_HANDLE iotHubClientHandle, PDLIST_ENTRY waitingToSend) +static IOTHUB_DEVICE_HANDLE IoTHubTransportAMQP_Register(TRANSPORT_LL_HANDLE handle, const IOTHUB_DEVICE_CONFIG* device, IOTHUB_CLIENT_CORE_LL_HANDLE iotHubClientHandle, PDLIST_ENTRY waitingToSend) { // Codes_SRS_IOTHUBTRANSPORTAMQP_09_006: [IoTHubTransportAMQP_Register shall register the device by calling into the IoTHubTransport_AMQP_Common_Register().] return IoTHubTransport_AMQP_Common_Register(handle, device, iotHubClientHandle, waitingToSend);