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

Piggibacked commands are not sent #32

Open
shernando1 opened this issue Jan 31, 2020 · 1 comment
Open

Piggibacked commands are not sent #32

shernando1 opened this issue Jan 31, 2020 · 1 comment

Comments

@shernando1
Copy link

I have been checking the ADR and I see that the ADRLinkADRAns MAC is not sent.
I see that the "MacCommandsInNextTx" is set when the frame with the ADRLinkReq is received but it is reset when the module sends the following uplink frame.
As far as I understand, this is due to that variable (and many others) are not keeped when the ESP32 entres in DeepSleep (LoRa.DeviceSleep(CLASS, DebugLevel); call in the examples).

I have tested changing the declaration of the variables to RTC_DATA_ATTR in LoRaMac.c and now it does work. I do not know if this is the solution or I am doing something wrong.

@Heltec-Aaron-Lee
Copy link
Contributor

Please try the newest update.

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

2 participants