TheThingsNetwork / lorawan-stack

The Things Stack, an Open Source LoRaWAN Network Server
https://www.thethingsindustries.com/stack/
Apache License 2.0
993 stars 309 forks source link

Provide option to remove/disable Relay's second channel #7335

Open StevenCellist opened 1 month ago

StevenCellist commented 1 month ago

Summary

I would like to see a (CLI) option to disable or remove the second channel of a relay.

Current Situation

The second channel is disabled by default, and as soon as a Frequency is set, the second channel is activated (with default DR0, wouldn't it be better to set it to the band's default WoR/ACK DR?). However, there is no way to disable this second channel; e.g. Frequency of 0MHz is not allowed (which is how channels are 'removed' in e.g. NewChannelReq).

The only way to 'remove' a second channel is by removing the relay altogether and completely reconfiguring it which is a huge pain in the arse for a somewhat configured relay.

Why do we need this? Who uses it, and when?

A user may wish to remove a relay's second channel. without completely resetting the relay.

Proposed Implementation

E.g. one of:

Contributing

Validation

Code of Conduct