Adds metric data point in the metric data set.
int Iotc_AddMetricData ( struct IotcMetricDataSet * metricDataSet, IotcMetric * metric )
- Sort the list based on device IDs. This ensures that all the metrics belonging to the same device are inserted from the device list when you fetch a device node.
Is the pointer to the metric data set.
Is the metric data to be sent to Agent.