You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: