This chapter provides the prerequisites and steps to run over-the-air (OTA) updates on a Gateway, using the Agent SDK.

Campaign services use the following properties from the IoTC Agent:
  • commandFetchIntervalSeconds: The IoTC Agent makes periodic get-command request to the Pulse micro services for every commandFetchIntervalSeconds expiry.
By default, the IoTC Agent runs with the following property values:
commandFetchIntervalSeconds=300

manifestExecution=ENABLE
If you start the IoTC Agent with the default properties, then the IoTC Agent requests for the command instructions from the VMware Pulse IoT Center server by calling the get-command every 5 minutes. For each lifecycle phase, the IoTC Agent receives a command from the server to perform the download, execute, and activate operations.

Prerequisites

Ensure that you set the manifestExecution property value to disable.