Skip to content

Commit

Permalink
mqttInitParams.mqttPacketTimeout_ms initialized (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnicholas authored and vareddy committed Dec 19, 2017
1 parent 51ff90b commit 2f4aa6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aws_iot_shadow.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ IoT_Error_t aws_iot_shadow_init(AWS_IoT_Client *pClient, ShadowInitParameters_t
mqttInitParams.pRootCALocation = pParams->pRootCA;
mqttInitParams.pDeviceCertLocation = pParams->pClientCRT;
mqttInitParams.pDevicePrivateKeyLocation = pParams->pClientKey;
mqttInitParams.mqttPacketTimeout_ms = 5000;
mqttInitParams.mqttCommandTimeout_ms = 20000;
mqttInitParams.tlsHandshakeTimeout_ms = 5000;
mqttInitParams.isSSLHostnameVerify = true;
Expand Down

0 comments on commit 2f4aa6d

Please sign in to comment.