2021-10-24 08:51 PM
Hi,
I am a bit confused about re-join request process on the lora STM32WL. I want to make my end node will join request to the gateway for five times when the join accepted process is not happening. After five times the join request process and end node failed to join accepted, then the system enters stop 2 mode (idle by default firmware package STM32WL).
Is there any reference or information about it ? Maybe, how to implement my need on LoRaWAN End Node STM32WL program ?
I really appreciate your attention, thank you.
Solved! Go to Solution.
2023-06-07 09:59 PM
Thank you @Imen DAHMEN & @Arvid Bläser
I've got a solution from this topic, namely by modifying the function of
OnJoinRequest(LmHandlerJoinParams_t *joinParams)
2021-10-29 01:53 AM
Hello @Candra SN. ,
Have a look at these resources and useful links concerns the LoRa communication:
Hope this helps you.
Imen
2021-11-01 07:05 PM
Thank you @Imen DAHMEN for your reply
But, i still confuse & dont know how to code on LoRa application layer based my need. Maybe you can help me technically or where should I edit the code to suit my needs ?
Fyi, my system use STM32WLE5CBU6 (single core)
2022-09-21 07:49 AM
Did you learn what you needed?
I'm trying to figure out how take make sure the join procedure is more robust.
After failing a join a few times with
LmHandlerJoin(ActivationType, ForceRejoin);
It stops sending join messages, even when calling it again.
By resetting the whole device I can of cource restart the process but preferrebly I want to only restart the join process again after a timer event. I guess it is possible to reset some sort of join counter somewhere?
2023-06-07 09:59 PM
Thank you @Imen DAHMEN & @Arvid Bläser
I've got a solution from this topic, namely by modifying the function of
OnJoinRequest(LmHandlerJoinParams_t *joinParams)
2023-07-31 03:15 AM - edited 2023-07-31 03:15 AM
Hello @Candra SN. I want to perform same kind of operation, can you suggest me how to do same? Which parameters of OnJoinRequest(LmHandlerJoinParams_t *joinParams) function needs to be modified?
2023-09-15 06:47 PM
I'm having the exact same problem. Can anyone describe how you addressed this situation? I'm somewhat familiar with OnJoinRequest(). The reason I need to re-join is because either my end-device RAK3172 (Class A) or the RAK7268 router seems to loose the device credentials after about 24 hours - which isn't good. This device wakes up about every 24 hours on an external event. (Hardware: RAK3172/19003 baseboard, Software: STM32Wl end-node STM32WL SDK 1.3)
2023-12-29 09:46 PM
What kind of modification I have do??
2023-12-30 12:29 PM
This worked for me. Place this join request below in the appropriate location in your lora_app.c.
LmHandlerJoin(ActivationType, ForceRejoin);
2023-12-31 08:59 PM
How your "lora_app.c" file look like??
Can you provide that function??