The same uplink frame counter was retransmitted by the device - meaning the frame counter in the message did not increment.
This could be a couple things (more possibilities, but two I have encountered):
For confirmed messages, the uplink may have arrive at the Network Server and the downlink may have not gotten back to the device, therefore the device would retry a message that was already received by the Network Server and would be rejected.
For unconfirmed messages, the uplink was resent with the same frame counter value
We are using the repeat function that is part of LoRaWAN to repeat a packet 3 times and as far as I know they are completely identical, including the frame counter. Should the other 2 packets not be silently discarded or why the error messages? Same thing happens when a packet is received by 2 gateways, is that normal?
It is done from the device, it is part from the LoRaWAN stack. In my code it looks like this, where 1 is the number of transmissions of the identical packet: