/pps/services/update/control

Software Update manager listens for messages from the HMI on this control object

Publishers
HMI
Subscribers
Update Manager

Attributes

Attribute Data type Description
cmd Number Values 1,2,3 specify the Update Manager's behavior:
  • 1 = Check for update on the server
  • 2 = Initiate update if available (has no effect if update is unavailable)
  • 3 = Cancel/ignore this update
data String Miscellaneous data (depends on the command used) for future use.

Event behavior

The Update Manager determines whether an update is available (e.g., the user inserts a USB stick with a valid update file) and then informs the HMI by setting updateAvailable to !0 on the /pps/services/update/status status object. The HMI prompts the user to either install or cancel the update, and then writes the appropriate command to this control object (cmd::2 to install, cmd::3 to cancel).
Note: For updates via USB, the filename of the update delta file must be of the form QNXCAR2*.mld (case insensitive) on a DOS-formatted USB stick.

If the user wants to see if updates are available on a network server, the HMI will send cmd::1 to this control object to initiate an external check for updates. If an update is found, the Update Manager will set updateAvailable to !0 (along with the other update details) on /pps/services/update/status.