IotcEnrollmentRequest represents the enrollment request structure.

Header
#include <iotcAgent.h>
Data Fields
  • IotcEnrollmentData data
  • union {
    IotcEnrollmentCredentials enrollmentCredentials
    IotcUserCredentials userCredentials
    };
Field Description
Field Description
IotcEnrollmentData IotcEnrollmentRequest::data

Data contains the required enrollment data.

IotcEnrollmentCredentials IotcEnrollmentRequest::enrollmentCredentials

enrollmentCredentials must be set for the IOTC_PRE_REGISTERED type.

IotcUserCredentials IotcEnrollmentRequest::userCredentials

userCredentials must be set for the IOTC_NOT_REGISTERED type.