LoRaMac-node
LoRaMac-node copied to clipboard
Move AdrAckLimit and AdrAckDelay to NVM MacGroup2
This pull request moves the parameters AdrAckLimit and AdrAckDelay from the internal MacCtx data structure to NVM. The values are stored in Nvm.MacGroup2.MacParams
and Nvm.MacGroup2.MacParams
and are initialized in LoRaMacInitialization just like any other parameters initialized from the regional parameters and backed by the NVM.
This pull request also adds four new MIB types that can be used to get and set NVM-backed parameters:
-
MIB_ADR_ACK_LIMIT
-
MIB_ADR_ACK_DELAY
-
MIB_ADR_ACK_DEFAULT_LIMIT
-
MIB_ADR_ACK_DEFAULT_DELAY
Related to #1337 Closes #1341