Enrolls the gateway and generates a Gateway Identifier.

API

int Iotc_Enroll ( IotcSession * iotcSession, IotcEnrollmentRequest * enrollmentRequest )

Parameters
in session

Is the connected session returned as part of Iotc_Init call.

in requestData

Is the pointer to the enroll request object.

out responseData

Contains the enroll response received for the request.

Returns
0 on success.