The service of the SoftwareUpdate component which provides the feature to update the software of the device and the connected components. The semantics are based on Version 1.03 of OPC UA Part 100: Devices (OPC 10000-100: OPC Unified Architecture).
More...
|
|
| ISoftwareUpdateService (void)=default |
| | Constructs an ISoftwareUpdateService instance.
|
| |
| virtual std::vector< RscString< 64 > > | GetUpdaterList ()=0 |
| | Returns a list of all updaters that are available on the system. More...
|
| |
| virtual StatusCode | GetUpdaterCapabilities (const RscString< 64 > &updaterName, UpdaterCapabilities &capabilities)=0 |
| | Returns information about the capabilities and behavior of the specified updater. More...
|
| |
| virtual StatusCode | GetUpdateBehavior (const RscString< 64 > &updaterName, const RscString< 512 > &componentId, const RscString< 512 > &manufacturerUri, const RscString< 512 > &softwareRevision, const std::vector< RscString< 512 > > &patchIdentifiers, UpdateBehavior &updateBehavior)=0 |
| | Returns the update behavior of either the Pending or Fallback SoftwareVersionType. More...
|
| |
| virtual StatusCode | GetStatus (const RscString< 64 > &updaterName, const RscString< 512 > &componentId, SoftwareUpdateStatus &status)=0 |
| | Returns the update status of the component. More...
|
| |
| virtual StatusCode | GetSoftwareVersion (const RscString< 64 > &updaterName, const RscString< 512 > &componentId, SoftwareVersionFileType fileType, SoftwareVersionType &version)=0 |
| | Returns information about the software version for a specific file type (fallback, current, pending). More...
|
| |
| virtual StatusCode | SetSoftwarePackage (const RscString< 64 > &updaterName, const RscString< 512 > &componentId, SoftwareVersionFileType fileType, const RscString< 512 > &fileName, boolean async, RscString< 512 > &errorMessage)=0 |
| | Passes a software package to the updater and performs validation. The validation can take a certain amount of time. Asynchronous execution is therefore possible. The status of the asynchronous operation can be queried via GetTranferStatus. More...
|
| |
| virtual StatusCode | GetSoftwarePackage (const RscString< 64 > &updaterName, const RscString< 512 > &componentId, SoftwareVersionFileType fileType, const RscString< 512 > &fileName, boolean async, RscString< 512 > &errorMessage)=0 |
| | The updater creates a software package for the specified version type and saves the file at the specified location. The ownership of the file is transferred to the client. More...
|
| |
| virtual StatusCode | GetTransferStatus (const RscString< 64 > &updaterName, const RscString< 512 > &componentId, TransferStatus &status)=0 |
| | Returns the status of the last or ongoing transfer operation. More...
|
| |
| virtual StatusCode | Prepare (const RscString< 64 > &updaterName, const RscString< 512 > &componentId)=0 |
| | Prepares the PLCnext device for updates. More...
|
| |
| virtual StatusCode | ForcePrepare (const RscString< 64 > &updaterName, const RscString< 512 > &componentId)=0 |
| | Forces the transition from Preparing to the PreparedForUpdate state. This might be necessary if the coupled application does not respond. More...
|
| |
| virtual StatusCode | Abort (const RscString< 64 > &updaterName, const RscString< 512 > &componentId)=0 |
| | Aborts the preparation or resuming process which results in the transition to the Idle state. More...
|
| |
| virtual StatusCode | ResumePrepare (const RscString< 64 > &updaterName, const RscString< 512 > &componentId)=0 |
| | Resumes from the PreparedForUpdate state. More...
|
| |
| virtual StatusCode | SetUpdateKey (const RscString< 64 > &updaterName, const RscString< 512 > &componentId, const RscSecureString< 512 > &updateKey)=0 |
| | Sets a key / password that should be used for the firmware update. More...
|
| |
| virtual StatusCode | SetInstallationDelay (const RscString< 64 > &updaterName, const RscString< 512 > &componentId, int64 installationDelay)=0 |
| | Sets the installation delay for the installation of a software package. More...
|
| |
| virtual StatusCode | GetInstallationDelay (const RscString< 64 > &updaterName, const RscString< 512 > &componentId, int64 &installationDelay)=0 |
| | Returns the installation delay. More...
|
| |
| virtual StatusCode | InstallSoftwarePackage (const RscString< 64 > &updaterName, const RscString< 512 > &componentId, const RscString< 512 > &manufacturerUri, const RscString< 512 > &softwareRevision, const std::vector< RscString< 512 > > &patchIdentifiers, boolean autoResumePrepareForUpdate)=0 |
| | Starts the installation. More...
|
| |
| virtual StatusCode | ResumeInstall (const RscString< 64 > &updaterName, const RscString< 512 > &componentId)=0 |
| | If the installation is in the Error state, the resume method will set the installation state machine back to idle. More...
|
| |
| virtual int64 | GetConfirmationTimeout ()=0 |
| | Returns the timeout for the confirmation feature. Represents the maximum time that the client may need to reconnect and call the Confirm Method. More...
|
| |
| virtual StatusCode | SetConfirmationTimeout (int64 timeout)=0 |
| | Sets the timeout for the confirmation feature. The timeout must be set by a client to a value greater than 0 to enable the confirmation feature. More...
|
| |
| virtual StatusCode | Confirm ()=0 |
| | Confirms that the device can keep the update and must not revert to the previous version. More...
|
| |
| virtual StatusCode | Clear (const RscString< 64 > &updaterName, const RscString< 512 > &componentId, SoftwareVersionFileType fileType)=0 |
| | Clears the software version type. / Removes the software package. More...
|
| |
|
| IRscService (void)=default |
| | The default constructor.
|
| |
| | IRscService (const IRscService &arg)=delete |
| | The deleted copy constructor. More...
|
| |
| | IRscService (IRscService &&arg) noexcept=default |
| | The default move constructor. More...
|
| |
| IRscService & | operator= (const IRscService &arg)=delete |
| | The deleted assignment operator. More...
|
| |
| IRscService & | operator= (IRscService &&arg) noexcept=default |
| | The default move-assignment operator. More...
|
| |
|
virtual | ~IRscService (void)=default |
| | Destructs this instance and frees all resources.
|
| |
The service of the SoftwareUpdate component which provides the feature to update the software of the device and the connected components. The semantics are based on Version 1.03 of OPC UA Part 100: Devices (OPC 10000-100: OPC Unified Architecture).
The service provides access to various updaters that can be used to update different components/software. The components of an updater are identified by an ID that is defined by the updater.
This service is defined in library Arp.Services.SoftwareUpdate.
Realtime Usage: This API call does not have to be deterministic in runtime behaviour, so an asynchronous execution should be considered.