Schedules the campaign for download.


int Iotc_CampaignScheduleDownload ( IotcSession * session, IotcCampaignId * campaignId, IotcCampaignScheduleTimeWindow * timeWindow )


Sends a request to the server to schedule the campaign for download. If the time window is empty, it indicates that the client is ready for downloading the campaign. Otherwise, the supplied time window is used by the server to schedule download of the campaign for this gateway.

in session

Is the connected session returned as part of Iotc_Init call.

in campaignId

Is the campaign ID of the campaign that is scheduled for download.

in timeWindow

Is the schedule time window for the campaign to download.

0 on success.