Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoRaWAN_Send does not sync to LoRaWAN Task #237

Open
niondir opened this issue Jan 13, 2022 · 0 comments
Open

LoRaWAN_Send does not sync to LoRaWAN Task #237

niondir opened this issue Jan 13, 2022 · 0 comments

Comments

@niondir
Copy link

niondir commented Jan 13, 2022

prvLoRaMACTask() is handling the LoRaWAN Stack via LoRaMacProcess()

When calling LoRaWAN_Send(...) internal state of the LoRaWAN stack is modified, e.g. LoRaMacMcpsRequest() modifies the non volatile MacCtx which is also accessed in LoRaMacProcess()

It's not that I have any actual bug with this, but I want to understand the architecture. Is this is by purpose, or should we actually sync the "sending" of the telegram inside the prvLoRaMACTask() via a queue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant