Microsoft Azure IoTHub client libraries
Dependents: sht15_remote_monitoring RobotArmDemo iothub_client_sample_amqp f767zi_mqtt ... more
This library implements the Microsoft Azure IoTHub client library. The code is replicated from https://github.com/Azure/azure-iot-sdks
Diff: iothub_client.h
- Revision:
- 72:c737b53d7689
- Parent:
- 62:5a4cdacf5090
- Child:
- 78:74a8d3068204
diff -r 0d498da5ece1 -r c737b53d7689 iothub_client.h --- a/iothub_client.h Fri Jul 14 16:37:50 2017 -0700 +++ b/iothub_client.h Fri Jul 28 09:52:16 2017 -0700 @@ -247,6 +247,11 @@ * - @b messageTimeout - the maximum time in milliseconds until a message * is timeouted. The time starts at IoTHubClient_SendEventAsync. By default, * messages do not expire. @p is a pointer to a uint64_t + * - @b c2d_keep_alive_freq_secs - the AMQP C2D keep alive interval in seconds. + * After the connection established the client requests the server to set the + * keep alive interval for given time. + * If it is not set then the default 240 sec applies. + * If it is set to zero the server will not send keep alive messages to the client. * @return IOTHUB_CLIENT_OK upon success or an error code upon failure. */ MOCKABLE_FUNCTION(, IOTHUB_CLIENT_RESULT, IoTHubClient_SetOption, IOTHUB_CLIENT_HANDLE, iotHubClientHandle, const char*, optionName, const void*, value);