-
Using Tag V4.4.4 Via ST Supplied LRWAN_V2.0.0 package, How do you direct the first join to a randomised band, so that a number of the same devices powered up at the same time don't attempt to use the same band. Re-joins after the first join appear to be randomised and occur using different channels it seems, which is what is needed. Also we are using ADR, should the application manually vary the Datarate the join is requested at, again to reduce air time if we are close the gateway. .. EDIT .. Testing on a single unit shows the sequence of frequencies it tries to always be the same order. Tested version V4.4.7. US915 0s069:TX on freq 902500000 Hz at DR 0 How can I force these join attempts to be more random so that if multiple units are powered up their join sequences are all different. It looks like Nvm.RegionGroup1.JoinTrialsCounter increments for each failed attempt. But I dont see an interface to adjust it. What is the suggested method for randomising this process and if I want to adjust the join attempt rate, how is this done? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 16 replies
-
We don't know which changes ST has made on their fork of this project. By default this project uses all 64+1 channels. The join frequencies selection follows the recommendation provided by the Regional Parameters specification The channels frequency selection order should be always random as the MAC layer uses a random number generated by the Radio hardware to seed the pseudo random generator. This means that every time LoRaMac-node/src/mac/LoRaMac.c Lines 3835 to 3836 in 05353ff Therefore, the only possibility to always get the same sequence across end-devices would be if the Radio always return the same random number. |
Beta Was this translation helpful? Give feedback.
We don't know which changes ST has made on their fork of this project.
By default this project uses all 64+1 channels. The join frequencies selection follows the recommendation provided by the Regional Parameters specification
The channels frequency selection order should be always random as the MAC layer uses a random number generated by the Radio hardware to seed the pseudo random generator. This means that every time
LoRaMacInitialization
API is called a different pseudo random sequence will be used.LoRaMac-node/src/mac/LoRaMac.c
Lines 3835 to 3836 in 05353ff
Therefore, the only possibility to always get …