Is there any way to set the frequency plan in the main Arduino program?
The "define" in the main Arduino program will not affect the "define" in the Config.h.
The code in Config.h will never run and the default frequency plan is always EU_868.
So library users must edit the Config.h to set the frequency plan.
Is there any way to set the frequency plan in the main Arduino program? The "define" in the main Arduino program will not affect the "define" in the Config.h.
The code in Config.h will never run and the default frequency plan is always EU_868. So library users must edit the Config.h to set the frequency plan.
We should have a function to set frequency plan instead. https://github.com/BeelanMX/Beelan-LoRaWAN/blob/master/src/arduino-rfm/Config.h#L12