Updating the Device Software

You can add support for passing parameters that runs the install scripts.

You can define parameters using the Management Portal.

You need your user name, password, and URL for Device Cloud.

The device manager on the device must be connected to Device Cloud.

The device manager must have permission to read the directory and file on the device.

If you run the Python agent, you must specify HDC_EXTRA_PARAMS (the default) for the extra_params attribute in the hdc_device_manager_def.cfg file.

  1. In your browser's address bar, type the URL you were given when you received your Device Cloud account, and then on the Sign In page, type your user name and password in the boxes.
  2. On the LaunchPad, click Development Tools.
  3. On the Management Portal, click Things, and then click the View icon of the device manager thing.
  4. On the thing details page, select the Methods tab, and then click Update Device Software.
  5. In the Additional params to pass into the install scripts text box, type the additional parameter that is required to run the install scripts, that is, HDC_EXTRA_PARAMS.

    This will allow one ota pkg to be deployed using triggers with extra parameters for many different installations.

  6. In the OTA log file name (optional) text box, define the name of the OTA log file that sends the output to ota stdout.
  7. In the Set Timeout in Seconds (Optional) text box, specify the timeout in seconds.
  8. In the Software Package Name (must be present in "files" on the cloud) enter the name of the Software package capturing ota stdout.
  9. Click Execute.