Iotc_AddMetricDataAdds metric data point in the metric data set. Iotc_AllocatePropertySet (Deprecated) Allocates memory for the property set to hold the size and the number of properties. Iotc_AllocatePropertiesAllocates memory to hold the total number of properties. Iotc_AllocMetricDataSetAllocates memory for metric data set to hold metrics data points Iotc_CampaignScheduleActivationSchedules the campaign for activation. Iotc_CampaignScheduleDownloadSchedules the campaign for download. Iotc_CampaignScheduleExecutionSchedules the campaign for execution. Iotc_CampaignSetExecutionProgressUpdates the execution progress of the campaign. IotcCommandCbThe command callback function type. Iotc_CloseCloses the communication channel with the IoTC Agent. Iotc_DeletePropertySet(Deprecated) Frees the memory used by the property set. Iotc_DeletePropertiesFrees the memory used by the properties. Iotc_Enroll Enrolls the gateway and generates a Gateway Identifier. Iotc_EnrollConnectedDevice Enrolls a connected device to the gateway. Iotc_FreeMetricDataSetFrees the metric data points in the metric data set. Mandatory if Iotc_AllocMetricDataSet() is called. Iotc_GetCommands Gets commands available for this gateway device from the Server. Iotc_GetCustomProperties (Deprecated) Retrieves the custom properties of the gateway device. Iotc_FreeGetResponseA general function to free internal resources used in a IotcGetResponse message. Iotc_GetResponseByTypeProcesses response messages and returns only the desired message based on the message type provided. Iotc_SyncThis function synchronizes device related information such as default properties with the server. Iotc_GetDevices(Deprecated) This function retrieves all the connected devices for a device using the ID and type. Iotc_GetDevicesDataThis function retrieves details such as device ID, device type, device name, template ID, template name, enrollment state, parent ID, parent gateway ID, system properties, custom properties and allowed metrics of all the connected devices of a device. Iotc_GetMessageIdReturns the messageId corresponding to the latest API invoked by the client. Invoke Iotc_GetMessageId before calling the next API. Iotc_GetResponse Gets response from the agent. Iotc_GetSessionSockfdReturns sockfd to the client. Iotc_GetSystemProperties (Deprecated) Retrieves the system properties of the gateway device. IotcSession* Iotc_InitInitializes the communication channel with the IoTC Agent. IotcSession*Iotc_InitWithConfigInitializes a communication channel with the IoTC Agent using the supplied configuration. Iotc_InsertProperty (Deprecated) Adds a property to the property set. Iotc_InsertProperties Adds a property to the property set. Iotc_RegisterCampaignCallbacksRegisters campaign callback functions. Iotc_RegisterCommandCallbackThe command callback registration function. Iotc_SendMetric Requests the agent to send a metric to the server. Iotc_SendMetricSetSends multiple metrics to the Agent to be sent to the server. Iotc_SendNotification Sends the notification request to the server. Iotc_SendPropertySet Sends the property set to the server. Iotc_UnEnroll Requests to un-enroll a device. Iotc_UploadFile Uploads the specified file to the server. Parent topic: Agent APIs