Skip to content

Commit

Permalink
ns-3.41 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
non-det-alle committed Mar 19, 2024
1 parent 6babcbe commit 5729c20
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NS3-VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
release ns-3.40
release ns-3.41
4 changes: 2 additions & 2 deletions model/adr-component.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ AdrComponent::GetTypeId()
.AddAttribute("MultipleGwCombiningMethod",
"Whether to average the received power of gateways or to use the maximum",
EnumValue(AdrComponent::AVERAGE),
MakeEnumAccessor(&AdrComponent::tpAveraging),
MakeEnumAccessor<CombiningMethod>(&AdrComponent::tpAveraging),
MakeEnumChecker(AdrComponent::AVERAGE,
"avg",
AdrComponent::MAXIMUM,
Expand All @@ -53,7 +53,7 @@ AdrComponent::GetTypeId()
.AddAttribute("MultiplePacketsCombiningMethod",
"Whether to average SNRs from multiple packets or to use the maximum",
EnumValue(AdrComponent::AVERAGE),
MakeEnumAccessor(&AdrComponent::historyAveraging),
MakeEnumAccessor<CombiningMethod>(&AdrComponent::historyAveraging),
MakeEnumChecker(AdrComponent::AVERAGE,
"avg",
AdrComponent::MAXIMUM,
Expand Down
2 changes: 1 addition & 1 deletion model/end-device-lorawan-mac.cc
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ EndDeviceLorawanMac::GetTypeId()
.AddAttribute("MType",
"Specify type of message will be sent by this ED.",
EnumValue(LorawanMacHeader::UNCONFIRMED_DATA_UP),
MakeEnumAccessor(&EndDeviceLorawanMac::m_mType),
MakeEnumAccessor<LorawanMacHeader::MType>(&EndDeviceLorawanMac::m_mType),
MakeEnumChecker(LorawanMacHeader::UNCONFIRMED_DATA_UP,
"Unconfirmed",
LorawanMacHeader::CONFIRMED_DATA_UP,
Expand Down

0 comments on commit 5729c20

Please sign in to comment.