Command argument structure.

Header
#include <iotcAgent.h>
Data Fields
  • IotcCommandArgValueType IotcCommandArg::type
  • char IotcCommandArg::name[IOTC_NAME_MAX_SIZE]
  • size_t IotcCommandArg::numValues
  • union {
    int64_t * intValues
    double * doubleValues
    char ** strValues
    };
Field Description
Field Description
IotcCommandArgValueType IotcCommandArg::type

The value type.

char IotcCommandArg::name[IOTC_NAME_MAX_SIZE]

Name of the argument.

IotcDeviceId IotcCommand::deviceId

Device identifier for the targeted device. This is an optional field.

size_t IotcCommandArg::numValues Number of items in the value array.
union {
int64_t * intValues
double * doubleValues
char ** strValues
};
Value array of the argument.