Schedules the campaign for execution.


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


Sends a request to the Server to schedule the campaign for running. If the time window is empty, it indicates that client is ready to run the campaign. Otherwise, the supplied time window is used by the server to schedule the campaign to run 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 running.

in timeWindow

Is the schedule time window for the campaign to run.

0 on success.