Re-join as ABP after OTAA

How to re-join to the network as ABP after joined as OTAA using STM32 LoRa Expansion Package for STM32Cube
I know after joining as OTAA (AppSKey and NwkSkey are generated)
but I can’t found the method to re-join as ABP

look here for an example.

1 Like

Thanks.It helped me
But I need this change in STM32 LoRa expansion package.

That depends on what hardware and/or which LoRaWAN stack you are using. You need to provide more details for anyone to be able to provide the answer you are looking for. Links to the components used are useful…

2 Likes

Thanks,
I edited the question.

There’s actually no such thing as “joining” in ABP. You just send packets with the right keys and a non-rewound, not-too-far-in advance frame count.

But many ways of restarting your node might have lost this information. If you can get it from TTN, perhaps you can build a suitable starting point into your node.

Only ADR really has a sense of a live “session” but it is confined to the ramped up data rate, not the basic crypto / frame count state.

1 Like