|
IoT managed integrations End Device SDK
|
The struct to hold the configuration of data model handler. More...
#include <iotmi_device_data_model_handler.h>
Public Attributes | |
| struct iotmiDev_Agent * | agent |
| The agent configured with the required endpoints. | |
| uint8_t | mqttSubscribeRetryCount |
| The times to retry MQTT subscription. | |
| uint16_t | mqttSubscribeTimeoutMs |
| The number of milliseconds to wait per MQTT subscription retry. | |
| uint16_t | mqttSendTimeoutMs |
| the number of milliseconds to wait for sending a MQTT message | |
| bool | reportStateOnConnection |
| Report current attribute values to the cloud on connection. | |
The struct to hold the configuration of data model handler.
| uint8_t iotmiDev_DataModelHandler_Config::mqttSubscribeRetryCount |
The times to retry MQTT subscription.
| uint16_t iotmiDev_DataModelHandler_Config::mqttSubscribeTimeoutMs |
The number of milliseconds to wait per MQTT subscription retry.
| bool iotmiDev_DataModelHandler_Config::reportStateOnConnection |
Report current attribute values to the cloud on connection.
When set to true, the device will include the current values of all readable attributes when it connects to the cloud. This allows the cloud to have the initial state of the device immediately after connection.
Default is false for backward compatibility.