Skip to content

Commit

Permalink
dev: Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansmares committed Apr 1, 2022
1 parent 171f834 commit 2c8af6b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ For details about compatibility between different releases, see the **Commitment

### Added

- New ADR settings API, which allows stronger control over the ADR algorithm.
- The new settings fields can be found under `mac-settings.adr`, and are mutually exclusive with `use-adr` and `adr-margin`. The legacy settings need to be unset before the new API options may be used.
- `mac-settings.adr.mode.disabled` completely disables the ADR algorithm.
- `mac-settings.adr.mode.static.data-rate-index`, `mac-settings.adr.mode.static.nb-trans`, `mac-settings.adr.mode.static.tx-power-index` allow the user to provide static ADR parameters to be negotiated with the end device. These options persist over multiple sessions and do not require a session reset in order to be propagated to the current session.
- `mac-settings.adr.mode.dynamic.min-data-rate-index` and `mac-settings.adr.mode.dynamic.max-data-rate-index` control the data rate index range which the Network Server will attempt to negotiate with the end device. Note that if the provided interval is disjoint with the available data rate indices, no negotiation will take place.
- `mac-settings.adr.mode.dynamic.min-tx-power-index` and `mac-settings.adr.mode.dynamic.max-tx-power-index` have similar behavior, but for transmission power indices.
- `mac-settings.adr.mode.dynamic.min-nb-trans` and `mac-settings.adr.mode.dynamic.max-nb-trans` have similar behavior, but for NbTrans.
- `mac-settings.adr.mode.dynamic.margin` may be used to provide the margin of the ADR algorithm. It replaces the old `adr-margin` setting.
- `use-adr` and `adr-margin` are still supported, but deprecated. Any future API usage should instead use the `mac-settings.adr` settings.

### Changed

### Deprecated
Expand Down
3 changes: 3 additions & 0 deletions cmd/ttn-lw-cli/commands/end_devices.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ func addDeprecatedDeviceFlags(flagSet *pflag.FlagSet) {
util.DeprecateFlag(flagSet, "pending_session.keys.nwk_s_key", "pending_session.keys.f_nwk_s_int_key")
util.DeprecateFlag(flagSet, "session.keys.nwk_s_key.key", "session.keys.f_nwk_s_int_key.key")
util.DeprecateFlag(flagSet, "pending_session.keys.nwk_s_key.key", "pending_session.keys.f_nwk_s_int_key.key")

util.HideFlag(flagSet, "mac_settings.use_adr")
util.HideFlag(flagSet, "mac_settings.adr_margin")
}

func forwardDeprecatedDeviceFlags(flagSet *pflag.FlagSet) {
Expand Down

0 comments on commit 2c8af6b

Please sign in to comment.