Enrolls a connected device to the gateway.

API

int Iotc_EnrollConnectedDevice ( IotcSession * iotcSession, IotcEnrollmentData * enrollmentData )

Parameters
in session

Is the connected session returned as part of Iotc_Init call.

in requestData

Is the pointer to the enroll request object.

Returns
0 on success.