Closed gerfen closed 2 years ago
Having a quick look at the library I see in the example we do this:
TheThingsNetwork ttn(loraSerial, debugSerial, freqPlan);
Looking at the header file I see that constructer can take two more parameters to set the SF and FSB
So what you should be able to do is to change that line in your code to:
TheThingsNetwork ttn(loraSerial, debugSerial, TTN_FP_US915, TTN_DEFAULT_SF, 1); // last parameter sets it to FSB 1
@jpmeijers Your suggestion got me pointed in the right direction. For my application, I also had to change the spread factor from the default to 10. Thanks!
I'll close this issue.
I'm looking for some guidance to tweak the US frequencies on the Things Node so I can use it to test my gateway deployments.
The TTN US-915 frequencies are defined like this [1]. My gateways are using this frequency plan [2]. Could some one provide guidance on how I can program the Things Node to support plan [2]?
Thanks!
[1] US-915 plan defined for TTN Network
[2] Modified US-915 frequency plan