Lora-net/LoRaMac-node

AdrAckCounter not incremented on "wrong" downlink frame received

Opened this issue · 1 comments

Hi, version used is tag v4.7.0.
In LoRaMac.c function StopRetransmission.
The Nvm.MacGroup1.AdrAckCounter is not incremented when a LoRa frame has been received (so MacCtx.MacFlags.Bits.McpsInd is set) on an RX window but the status of this reception is not LORAMAC_EVENT_INFO_STATUS_OK.
In this case, in my opinion, Nvm.MacGroup1.AdrAckCounter should be incremented.
What do you think ?
Thank you.