IotcEnrollmentData represents the enrollment data.
Enrollment data contains the type of enrollment and the required data for the enrollment.
- Data Fields
-
IotcEnrollmentType typeIotcDeviceId parentId-
union { IotcDeviceId deviceId IotcDeviceDetails deviceDetails };
- Field Description
-
Field Description IotcDeviceId IotcEnrollmentData::parentId parentIdis the device ID of the gateway device that the device connects to. For the root gateway device, the parent ID must be empty.IotcDeviceId IotcEnrollmentData::deviceId deviceIdmust be set for theIOTC_PRE_REGISTEREDtype.IotcDeviceDetails IotcEnrollmentData::deviceDetails deviceDetailsmust be set for theIOTC_NOT_REGISTEREDtype.