IotcMetric represents the metric data point to be sent to the agent.

Header
#include <iotcAgent.h>
Data Fields
  • IotcMetricType type
  • IotcDeviceId deviceId
  • char name [IOTC_METRIC_NAME_SIZE]
  • union {
    struct IotcStringValue strings [0]
    struct IotcIntegerValue integers [0]
    struct IotcFloatValue floats [0]
    struct IotcBooleanValue bools [0]
    };