Closed AndreiHanu closed 3 years ago
@AndreiHanu Hello, you can run LoRaMacInitialization
anytime you like. It is not necessarily done at startup, but depending on your application's needs. We do it in our project whenever we need it. Just don't forget to call LoRaMacDeInitialization
, before you restart the LORA stack with the new regional settings.
Thank you Alex!
Hi,
We are currently developing a GPS tracker based on the Murata CMWX1ZZABZ chip and need to be able to select the LoRa region/frequency at runtime based on the GPS location and a preset geofence.
Is it possible to implement that feature using this stack?
The initialization code on this page (http://stackforce.github.io/LoRaMac-doc/_q_u_i_c_k__s_t_a_r_t__g_u_i_d_e.html) seems to indicate that you can do that.
However, the build instructions in the README.md file seems to indicate the region is selected during compilation and cannot be changed at runtime.
Can you provide some clarification on this?