zigpy / bellows

A Python 3 project to implement EZSP for EmberZNet devices
GNU General Public License v3.0
177 stars 86 forks source link

EZSP v13 #603

Closed puddly closed 6 months ago

puddly commented 6 months ago

This release of EmberZNet drops support for reading/writing network keys using our existing methods, breaking compatibility. The new commands thankfully maintain feature parity and include new features, allowing us to fully restore APS link keys. This should make backup/restore 100% state-preserving for EmberZNet.

puddly commented 6 months ago

This may also be an interesting command to explore. It's available in EZSP v9+:

image
/** @brief Set the routing shortcut threshold to directly use a neighbor instead of
 * performing routing.
 *
 * @param costThresh the routing shortcut value that should be used to directly use a neighbor
 * instead of performing routing.
 *
 * @return ::return EMBER_BAD_ARGUMENT if the costThresh is not 1, 3, 5, 7
 * Returns ::EMBER_SUCCESS otherwise.
 */
EmberStatus emberSetRoutingShortcutThreshold(uint8_t costThresh);

Values range from 1 for a good link to 7 for a bad link.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (09b2782) 99.78% compared to head (916b1fc) 99.75%. Report is 1 commits behind head on dev.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #603 +/- ## ========================================== - Coverage 99.78% 99.75% -0.04% ========================================== Files 67 74 +7 Lines 4728 4966 +238 ========================================== + Hits 4718 4954 +236 - Misses 10 12 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.