Missing impelementation of MacCtx.RadioEvents.IrqProcessNeeded in LoRaMAC.c #1233
Unanswered
dgiovanelli
asked this question in
Q&A
Replies: 1 comment
-
Yes, on provided examples one need to call Concerning your 2nd question it is hard to provide you an answer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The callback IrqProcessNeeded is not implemented into LoRaMAC.c. The IRQ generated by the chipset (at least for the LR1110) are therefore processed only if the LmHandlerProcess() function is continuosly polled.
Also, in LoRaMac-node/src/radio/lr1110/radio.c the IrqFired flag is reset at the end of RadioInit( ). However, in my case (I'm using a proprietary hardware), the interrupt line is rised by the chipset before reaching the end of RadioInit( ). This causes the level of the IrqFired flag to go out of sync with the physical interrupt line (the IrqFired flag is cleared while the interrupt line is high).
Beta Was this translation helpful? Give feedback.
All reactions