The reception window isn't opened at the right time (v4.4.3) #943
FranciscoRV
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Hi guys, Did you guys have a look at this? It seems to be something crucial IMO. Cheers! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a problem with the windows delay duration, the reception window isn't opened at the right time.
I see that the end of a transmission is notified with OnRadioTxDone, LoRaMacRadioEvents.Events.TxDone is set to 1, this flag is processed inside LoRaMacProcess() function and this function calls ProcessRadioTxDone which starts the timers RxWindowTimerX.
LoRaMacProcess is called in the main loop so if the end of a transmission (between OnRadioTxDone and ProcessRadioTxDone) arrive during a microcontroller treatment the windows delay will depend on the duration of this treatment.
To avoid this we could move the TimerStart( &MacCtx.RxWindowTimerX ) in OnRadioTxDone? or move the ProcessRadioTxDone function under interrupt?
Beta Was this translation helpful? Give feedback.
All reactions