-
Notifications
You must be signed in to change notification settings - Fork 311
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
Issue with LinkADRReq Persistence on TTN with LoRaWAN v1.0.4 and rp002-1.0.3 #7376
Comments
I'm checking the LoRaWAN v1.0.4 specification and after that I will check our implementation. From the specification:
So indeed if the ADR is not set then the Network Server should accept that the end device has rejected the data rate and the TX power and not send the request again. |
@autume Could you please provide some logs and the |
It could be that TTS considers the entire LinkADRReq to be discarded when some LinkADRAns ACK bits are 0, because of L998 and L999:
This formulation is confusing because indeed there's an exception for when the end device set the ADR bit to 0 in the uplink message. In that case, like @halimi says it is okay that the end device does not accept all instructions. |
@halimi The attached file is the relevant log. |
@autume Thank you for providing the information. The uplink header doesn't have the ADR bit set.
And only the
Checking the code we are marking the answer as rejected if one of the Ack bit is not set and we are not checking the header ADR bit.
|
@halimi Thank you, I understand the issue now. Will this logic be optimized in future versions? |
@autume yes, we will fix this. Thank you for reporting the issue. |
Summary
We are facing an issue with persistent LinkADRReq messages on TTN when using a device with LoRaWAN v1.0.4 and rp002-1.0.3. The device does not support ADR.
Steps to Reproduce
Current Result
The LNS continuously sends LinkADRReq messages and does not stop until the device responds with LinkADRAns (0x07).
Expected Result
The LNS should not persist in sending LinkADRReq messages when the device does not support ADR, and it should not check the PowerACK and DataRateACK bits.
Relevant Logs
No response
URL
No response
Deployment
The Things Stack Cloud
The Things Stack Version
3.32.1
Client Name and Version
No response
Other Information
No response
Proposed Fix
No response
Contributing
Validation
Code of Conduct
The text was updated successfully, but these errors were encountered: