TheThingsNetwork / lorawan-stack

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

Allow Brand/Model overrides of Gateway parameters #2070

Open KrishnaIyer opened 4 years ago

KrishnaIyer commented 4 years ago

Summary

Allow Brand/Model overrides of Gateway parameters

Why do we need this?

Some gateways require some parameters (ex: clksrc) to be different from the value set in the FrequencyPlans. These values are brand/model specific.

What is already there? What do you see now?

Fixed values for fixed frequency plans.

What is missing? What do you want to see?

Override of certain parameters based on model/brand.

Environment

ttn-lw-stack 3.6.0

How do you propose to implement this?

Add hooks on the GatewayBrand and GatewayModel and update the frequency plan object based on these.

Can you do this yourself and submit a Pull Request?

Yup

KrishnaIyer commented 4 years ago

Ref: https://github.com/TheThingsNetwork/lorawan-stack/pull/1793#issuecomment-593306378

benolayinka commented 4 years ago

@KrishnaIyer can I bump the priority on this? I'm updating our Multitech guides and this would make configuration of some gateways simpler

KrishnaIyer commented 4 years ago

This is actually blocked on https://github.com/TheThingsIndustries/lorawan-stack/issues/2018

htdvisser commented 4 years ago

Back to Backlog until unblocked