Skip to content
Discussion options

You must be logged in to vote

Hi @abtink,

I found the issue, which was not an issue with the radio platform, but more an oversight on my part which causes the weird behavior:

Cause:
I sent COAP transmissions by calling the function in the interrupt service routine called by the timer

Fix:
I moved the coap transmission function to the main loop, which now checks if the transmission flag is set
The interrupt service routine now only takes a measurement and sets the transmission flag

I guess that the ISR, even when at lowest priority, still interrupted OT / radio processes. Adding another message transmission during this interrupt caused unexpected behavior and caused these issues.

I still find it curious that all debug …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@FGK42
Comment options

@FGK42
Comment options

Answer selected by FGK42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants