-
Notifications
You must be signed in to change notification settings - Fork 123
method to list the available firmwares to be used with upgradefirmware. #709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Changes from all commits
82f7b9c
296ba40
7b2c4d8
16a1c61
52819eb
f0808c7
c198b74
8829c21
d9108d8
a738b24
d522dbd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -316,6 +316,11 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO | |
| <xs:documentation>Indicates support for firmware upgrade through the cloud.</xs:documentation> | ||
| </xs:annotation> | ||
| </xs:attribute> | ||
| <xs:attribute name="AvailableFirmwareListing" type="xs:boolean"> | ||
| <xs:annotation> | ||
| <xs:documentation>Specifies support for retrieving the list of available firmware through GetAvailableFirmwares.</xs:documentation> | ||
| </xs:annotation> | ||
| </xs:attribute> | ||
| <xs:attribute name="HttpFirmwareUpgrade" type="xs:boolean"> | ||
| <xs:annotation> | ||
| <xs:documentation>Indicates support for firmware upgrade through HTTP.</xs:documentation> | ||
|
|
@@ -2494,6 +2499,70 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO | |
| </xs:complexType> | ||
| </xs:element> | ||
| <!--===============================--> | ||
| <xs:element name="GetAvailableFirmwares"> | ||
| <xs:complexType> | ||
| <xs:sequence> | ||
| <xs:element name="IncludeBeta" type="xs:boolean" minOccurs="0" maxOccurs="1"> | ||
| <xs:annotation> | ||
| <xs:documentation>Optional flag to include beta firmware versions in the response. If not passed, only stable firmware versions would be listed. Note that beta versions may not be available for devices via this channel.</xs:documentation> | ||
| </xs:annotation> | ||
| </xs:element> | ||
| <xs:element name="IncludePreviousVersions" type="xs:boolean" minOccurs="0" maxOccurs="1"> | ||
| <xs:annotation> | ||
| <xs:documentation> Optional flag to include previous firmware versions in the response (for downgrade or rollback). If not passed, only newer firmware versions would be listed. </xs:documentation> | ||
| </xs:annotation> | ||
| </xs:element> | ||
| </xs:sequence> | ||
| </xs:complexType> | ||
| </xs:element> | ||
| <xs:element name="GetAvailableFirmwaresResponse"> | ||
| <xs:complexType> | ||
| <xs:sequence> | ||
| <xs:element name="FirmwareInfo" type="tds:FirmwareInfo" minOccurs="0" maxOccurs="unbounded"> | ||
| <xs:annotation> | ||
| <xs:documentation>List of available firmware versions. If no valid upgrade or downgrade target exists, the list shall be empty.</xs:documentation> | ||
| </xs:annotation> | ||
| </xs:element> | ||
| </xs:sequence> | ||
| </xs:complexType> | ||
| </xs:element> | ||
| <xs:complexType name="FirmwareInfo"> | ||
| <xs:sequence> | ||
| <xs:element name="FirmwareVersion" type="xs:string"> | ||
| <xs:annotation> | ||
| <xs:documentation>Version identifier of the firmware.</xs:documentation> | ||
| </xs:annotation> | ||
| </xs:element> | ||
| <xs:element name="FirmwareDescription" type="xs:string" minOccurs="0" maxOccurs="1"> | ||
| <xs:annotation> | ||
| <xs:documentation>Description of the firmware version.</xs:documentation> | ||
| </xs:annotation> | ||
| </xs:element> | ||
| <xs:element name="ReleaseDate" type="xs:dateTime" minOccurs="0" maxOccurs="1"> | ||
| <xs:annotation> | ||
| <xs:documentation>The release date of the firmware version.</xs:documentation> | ||
| </xs:annotation> | ||
| </xs:element> | ||
| <xs:element name="ReleaseInfoUri" type="xs:anyURI" minOccurs="0" maxOccurs="1"> | ||
| <xs:annotation> | ||
| <xs:documentation>URI of release information for the firmware version, such as a release letter or release notes.</xs:documentation> | ||
| </xs:annotation> | ||
| </xs:element> | ||
| <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> <!-- first Vendor then ONVIF --> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is the ##any to be added at the end i.e after IsLatest attribute?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. xs:any is fine here, as it must be part of the sequence.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Suggest to add an optional item for link to release information like release letter.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. added this optional ReleaseInfoUri param. |
||
| </xs:sequence> | ||
| <xs:attribute name="Beta" type="xs:boolean" use="optional"> | ||
| <xs:annotation> | ||
| <xs:documentation>Indicates whether the firmware version is a beta release.</xs:documentation> | ||
| </xs:annotation> | ||
| </xs:attribute> | ||
| <xs:attribute name="IsLatest" type="xs:boolean" use="optional"> | ||
| <xs:annotation> | ||
| <xs:documentation>Indicates whether the firmware version is the latest official release.</xs:documentation> | ||
| </xs:annotation> | ||
| </xs:attribute> | ||
| <xs:anyAttribute processContents="lax"/> | ||
| </xs:complexType> | ||
| <!--===============================--> | ||
| <!--===============================--> | ||
| </xs:schema> | ||
| </wsdl:types> | ||
|
|
@@ -3116,6 +3185,12 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO | |
| <wsdl:message name="SetHashingAlgorithmResponse"> | ||
| <wsdl:part name="parameters" element="tds:SetHashingAlgorithmResponse"/> | ||
| </wsdl:message> | ||
| <wsdl:message name="GetAvailableFirmwaresRequest"> | ||
| <wsdl:part name="parameters" element="tds:GetAvailableFirmwares"/> | ||
| </wsdl:message> | ||
| <wsdl:message name="GetAvailableFirmwaresResponse"> | ||
| <wsdl:part name="parameters" element="tds:GetAvailableFirmwaresResponse"/> | ||
| </wsdl:message> | ||
|
|
||
| <wsdl:portType name="Device"> | ||
| <wsdl:operation name="GetServices"> | ||
|
|
@@ -3771,6 +3846,13 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO | |
| <wsdl:input message="tds:SetHashingAlgorithmRequest"/> | ||
| <wsdl:output message="tds:SetHashingAlgorithmResponse"/> | ||
| </wsdl:operation> | ||
| <wsdl:operation name="GetAvailableFirmwares"> | ||
| <wsdl:documentation> | ||
| This operation returns the list of firmware versions available for the device. The returned firmware version strings shall be valid values for the Version parameter of the UpgradeFirmware operation. | ||
| </wsdl:documentation> | ||
| <wsdl:input message="tds:GetAvailableFirmwaresRequest"/> | ||
| <wsdl:output message="tds:GetAvailableFirmwaresResponse"/> | ||
| </wsdl:operation> | ||
|
|
||
| <!--===============================--> | ||
| <!--The definition and interfaces for the Security have been deprecated with release 16.12 | ||
|
|
@@ -4783,6 +4865,15 @@ IN NO EVENT WILL THE CORPORATION OR ITS MEMBERS OR THEIR AFFILIATES BE LIABLE FO | |
| <soap:body use="literal"/> | ||
| </wsdl:output> | ||
| </wsdl:operation> | ||
| <wsdl:operation name="GetAvailableFirmwares"> | ||
| <soap:operation soapAction="http://www.onvif.org/ver10/device/wsdl/GetAvailableFirmwares"/> | ||
| <wsdl:input> | ||
| <soap:body use="literal"/> | ||
| </wsdl:input> | ||
| <wsdl:output> | ||
| <soap:body use="literal"/> | ||
| </wsdl:output> | ||
| </wsdl:operation> | ||
|
|
||
|
|
||
| </wsdl:binding> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.