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: iothubtransport_amqp_common.c
- Revision:
- 49:0b9d85080386
- Parent:
- 48:06c522453dd6
- Child:
- 50:f3a92c6c6534
--- a/iothubtransport_amqp_common.c Tue Jan 30 08:19:43 2018 -0800 +++ b/iothubtransport_amqp_common.c Thu Feb 15 11:33:47 2018 -0800 @@ -1947,7 +1947,7 @@ result = IOTHUB_CLIENT_OK; } } - else if (strcmp(OPTION_SERVICE_SIDE_KEEP_ALIVE_FREQ_SECS, option) == 0) + else if ((strcmp(OPTION_SERVICE_SIDE_KEEP_ALIVE_FREQ_SECS, option) == 0) || (strcmp(OPTION_C2D_KEEP_ALIVE_FREQ_SECS, option) == 0)) { transport_instance->svc2cl_keep_alive_timeout_secs = *(size_t*)value; result = IOTHUB_CLIENT_OK;