Negative value for MacCtx.RxWindow1Delay #1591
Unanswered
LarryZalesky
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I’ve been working on a system that has LoRaMAC-node ported to a custom board running an NXP processor. At the bottom, we are using the NXP/Freescale provided software for OSTimer.
I’ve been seeing a problem where the NXP/Freescale code is being asked to set a compare to an invalid time. After working my way through it, I am seeing MacCtx.RxWindow1Delay set to a negative number in ComputeRxWindowParameters (of LoRaMac.c) because MacCtx.RxWindow1Config.WindowOffset is a small negative number. Since these variables are unsigned 32-bit values, this results in a value a little over 4 billion mS.
Beta Was this translation helpful? Give feedback.
All reactions