Dear Community,
I'm facing of a problem I were not able to solve myself.
I'm printing the CSN from the onTagArrival callback but after several read I can see the same UID even if i'm using different card with different UID (original Classic EV1 and DESFire EV2).
As you could see below, the card n° 7,8... return the same UID as the card n°6 (but of course the cards 7, 8 and more have a different UID). It seems that the 6th UID is always kept in memory inside the pTagInfo pointer.
CARD1: E6A09E8D
CARD2: 042344D2636280
CARD3: 16A9B18D
CARD4: 94A1D262
CARD5: 94A1D262
CARD6: 45A221D8
CARD7: 45A221D8
CARD8: 45A221D8
...
void onTagArrival(nfc_tag_info_t *pTagInfo){
for(int i = 0; i < (*pTagInfo).uid_length; i++){
printf("%02D", (unsigned char) (*pTagInfo).uid[i]);
}
printf("\n");
}
I'm using the last libnfc-nci compiled from the github inside a Linux Debian Buster R01 with an I2C Kernel Driver.
Any Idea about how it's possible and where it could come from ?
Thank you in advance for you help
Regards