Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different Hex codes? #2

Open
gdobrasnki opened this issue Mar 28, 2022 · 1 comment
Open

Different Hex codes? #2

gdobrasnki opened this issue Mar 28, 2022 · 1 comment

Comments

@gdobrasnki
Copy link

gdobrasnki commented Mar 28, 2022

What am i missing here.

I have a third party reader that read a card to a DB as
04 A3 C6 CA E2 61 80

I can use the RC512 with an adriuno UNO and read the card as
04 A3 C6 CA E2 61 80
(example and library here:https://randomnerdtutorials.com/security-access-using-mfrc522-rfid-reader-with-arduino/ )

I use your package and get the following read.

New card detected

  • tag type: 0x10
  • uid : 0x8804a3c6

Have i just been up too long? that hex isn't the same as the ones above?

Edit: Just noticing that it is a partial match

Overlap in 04 A3 C6 CA E2 61 80
but fails to collect the second half?
also the 88 at the beginning doesn't show up on other readers.

@jlq76
Copy link

jlq76 commented Aug 17, 2023

The 0x88 is a CT (Continuation Tag) that specifies that the UID uses 7 bytes and not 4 bytes.
Unfortunately the anticoll() function here only supports 4 bytes UID.
I saw some examples online using a second function, amticoll2(), when the first byte is 0x88 but so far I'm not successful to get it work with this package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants