This section lists the prerequisites for running a campaign for the IoTC Agent in Headless Mode.

Prerequisites

  • Run the IoTC Agent with the manifestExecution property set to ENABLE:
    manifestExecution=ENABLE

Results

On any campaign, the get-commands call ensures that the OTA updates are auto-delivered to the IoTC Agent. The get-commands calls from the IoTC Agent listens to the Campaign commands and the campaign downloads, executes, and activates updates.

What to do next

To monitor the progress of a campaign on the gateway, set the agentLogLevel to 6 in the iotc-agent.cfg file. You can then monitor the system logs to view the progress of the campaign using tools such as journalctl -u or iotc-agent -f.