Replies: 1 comment
-
The LoRaWAN specification chapter "7 Retransmissions Backoff" is present in order to avoid the described situation. In order to improve the randomization this project uses the radio interface to generate a random number which will be used as seed for the pseudo-random generator. By doing so we try to ensure as much as possible that every end-device gets a different pseudo-random sequence. The provided examples further improve the situation by randomizing the end-device transmission. Please refer to the following: LoRaMac-node/src/apps/LoRaMac/periodic-uplink-lpp/NucleoL073/main.c Lines 55 to 64 in 05353ff and LoRaMac-node/src/apps/LoRaMac/periodic-uplink-lpp/NucleoL073/main.c Lines 273 to 274 in 05353ff While making this answer I noticed that the example could be further improved by changing following function implementation from LoRaMac-node/src/apps/LoRaMac/periodic-uplink-lpp/NucleoL073/main.c Lines 530 to 542 in 05353ff To: /*!
* Function executed on TxTimer event
*/
static void OnTxTimerEvent( void* context )
{
TimerStop( &TxTimer );
IsTxFramePending = 1;
// Schedule next transmission
TxPeriodicity = APP_TX_DUTYCYCLE + randr( -APP_TX_DUTYCYCLE_RND, APP_TX_DUTYCYCLE_RND );
TimerSetValue( &TxTimer, TxPeriodicity );
TimerStart( &TxTimer );
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, we got some issues when we setup a few tens devices join to NS in parallel by OTAA mode:
1, When the devices power on one by one, all devices join success rate were 100%. But the success rate just around 70% when they power on at the same time. Means some devices cannot joined when they send join request at one time.
2, Due to our devices are power by power grid, it not worry about the battery consumption. So we want the devices rejoin forever when they join fail, We have tried to disable duty cycle, but it not work, it still have "duty cycle restrict" error which as LoRaWAN 1.0.4 specification.
Please help give some suggestions, how to meet the above requirements. thank you.
Beta Was this translation helpful? Give feedback.
All reactions