RFID - One tag gives two different IDs in two different readers

一个人想着一个人 提交于 2020-01-06 14:35:12

问题


I'm having trouble with RFID cards. I have 2 distinct devices that read RFID. When I scan ANY card, I always get 2 values each. I tested with a commun usb card reader, FYI.

The IDs I get are:

Device 1 (same as USB reader) = 0006628180
Device 2 (The odd one) = 10109044

Beware that this is the same card. I have other examples if you want. I just need to know what to do to get the same ID from both devices.


回答1:


Right, I feel stupid.

But if you stumble upon this question, here's an answer:

The ID often comes with more info in a single number. In this particular case the last 2 bytes (16 bits) of the ID are the card number:

6628180 = [....] 0010 0011 0101 0100 -> you can get those in the Windows calculator if you switch it to programmer mode.

Some devices just straight place both codes in a single ID:

10109044 = [....] 0100 0000 0111 0100 -> we can confirm that they are not the same

However, if we slice the 5 last digits of the ID (in this case 101 - 09044), we get:

09044 = 0010 0011 0101 0100 -> the same as the 2 bytes stored in the first value.

The reading of ID is based according to Motorola cards definition. Hope it helps.



来源:https://stackoverflow.com/questions/27481383/rfid-one-tag-gives-two-different-ids-in-two-different-readers

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!