-
Notifications
You must be signed in to change notification settings - Fork 325
Check ADR bit in LinkADRAns
#7447
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
Changes from all commits
f4aab29
7dbb90f
c703c2e
779bffb
b618ff3
822e453
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -237,3 +237,10 @@ func EncryptionOptions(v ttnpb.MACVersion, frameType FrameType, fPort uint32, cm | |
func ValidateUplinkPayloadSize(v ttnpb.MACVersion) bool { | ||
return compareMACVersion(v, ttnpb.MACVersion_MAC_V1_1) >= 0 | ||
} | ||
|
||
// LinkADRReqRejected reports whether v uses the ADR bit in the FCtrl field | ||
// to modify which ACK bits needs to check in the LinkADRAns. | ||
func LinkADRReqRejected(v ttnpb.MACVersion) bool { | ||
return compareMACVersion(v, ttnpb.MACVersion_MAC_V1_0_3) >= 0 && | ||
compareMACVersion(v, ttnpb.MACVersion_MAC_V1_0_4) <= 0 | ||
} | ||
Comment on lines
+241
to
+246
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @halimi isn't this only supported in LoRaWAN 1.0.4? I cannot find the wording in the 1.0.3 spec. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is an errata for 1.0.3 where it is described. https://resources.lora-alliance.org/technical-specifications/adr-harmonize-state-transition-errata-on-the-lorawan-l2-1-0-3-specification |
Uh oh!
There was an error while loading. Please reload this page.