Skip to content
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

feat: support Firmware Update Meta Data CC v8 #7079

Merged
merged 4 commits into from
Aug 16, 2024
Merged

feat: support Firmware Update Meta Data CC v8 #7079

merged 4 commits into from
Aug 16, 2024

Conversation

AlCalzone
Copy link
Member

@AlCalzone AlCalzone commented Aug 2, 2024

This PR adds support for resuming aborted firmware updates and transferring firmware update data without encryption to reduce overhead. This requires end devices implementing version 8 of the firmware update CC.

The methods to perform firmware updates with or without the update service can now specify whether those features should be used if supported through an additional options parameter:

export interface FirmwareUpdateOptions {
	/**
	 * Whether a previous attempt to update this node's firmware should be resumed (if supported).
	 */
	resume?: boolean;
	/**
	 * Whether the firmware data should be transferred without encryption (if supported).
	 * This can massively reduce the time needed.
	 */
	nonSecureTransfer?: boolean;
}

fixes: #7075

@AlCalzone AlCalzone marked this pull request as ready for review August 16, 2024 10:48
@AlCalzone
Copy link
Member Author

@zwave-js-bot automerge

@zwave-js-bot zwave-js-bot enabled auto-merge (squash) August 16, 2024 10:49
@zwave-js-bot zwave-js-bot merged commit 98d8e70 into master Aug 16, 2024
17 checks passed
@zwave-js-bot zwave-js-bot deleted the fwupd-v8 branch August 16, 2024 10:55
AlCalzone added a commit that referenced this pull request Sep 12, 2024
### Features
* Add support for EU Long Range (#6751)
* Support learn mode to become a secondary controller (#7135)
* Add method to query supported RF regions and their info (#7118)
* Support `Firmware Update Meta Data CC` v8 (#7079)
* Implement 32-bit addressed NVM operations (#7114)
* Add methods to reset SPAN of one or all nodes (#7105)

### Bugfixes
* Fix missing values in endpoint dump (#7101)

### Config file changes
* Add new fingerprint for TZ45 thermostat (#7127)
* Add alarm mapping for Schlage lock CKPD FE599 (#7122)
* Add fingerprint for Climax Technology SDCO-1 (#7102)
* Add Shelly Wave Pro 3 and Wave Pro Shutter (#7103)
* Remove endpoint workaround for Zooz ZEN30, FW 3.20+ (#7115)

### Changes under the hood
* Document soft-reset issue in VMs (#7119)
* Update documentation for troubleshooting and Zniffer, clean up migration guides (#7107)
* Update `FunctionType` definitions (#7106)
* CI now checks that all device config files have a `.json` extension (#7099)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Firmware Update CC v8
2 participants