-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
I have an application which requires that the LoRaMAC region be changed during runtime. I had this tested with simpler libraries, so it is possible an it runs from the network side.
I have been struggling to make this work from the firmware side though. After being joined to the network, I try these steps:
- LmHandlerStop()
- Flush backup memory (if I don't do this it get recovered during LmHandlerConfigure)
- LmHandlerSetActiveRegion(region)
- LmHandlerJoin(ACTIVATION_TYPE_OTAA, true)
- while(LmHandlerIsBusy()) LmHandlerProcess()
This would even work, but sometimes the process just breaks or halts either during the rejoin, or the transmission. In general, it seems that it is very difficult to change the state machine to a new region during runtime. Is there any common implementation for this? Thanks.
Metadata
Metadata
Assignees
Labels
No labels