Azure IoT / iothub_amqp_transport

Dependents:   sht15_remote_monitoring RobotArmDemo iothub_client_sample_amqp iothub_client_sample_amqp ... more

Files at this revision

API Documentation at this revision

Comitter:
AzureIoTClient
Date:
Thu Feb 15 11:33:47 2018 -0800
Parent:
48:06c522453dd6
Child:
50:f3a92c6c6534
Commit message:
1.1.32

Changed in this revision

iothubtransport_amqp_common.c Show annotated file Show diff for this revision Revisions of this file
--- 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;