rfid

Transceive Failed on ISO15693 / Tag-it HF-I

旧城冷巷雨未停 提交于 2019-12-06 17:53:37
I have some ISO15693 / Tag-it HF-I Plus chips and need to write something on them. These chips are completly fresh, and i read now a ton of pdf's telling me all the same. But nothing work, and i get all the time the Transceive Failed error. I send these Data in the transceive command: Byte: <data> 0: 0x00 // pdf says the tag understands only flag = 0x00 1: 0x21 // write single block 2-10: ID // needs to be send for this tag, only supports addressed mode 11: 0x00 // Block ID, try to write to block 0 12-16: DATA // LSB First 17-18: CRC16 // do i need to send this? and if yes, LSB first? I tried

Wiegand RFID reader VS USB RFID reader Raspberry PI

╄→гoц情女王★ 提交于 2019-12-06 14:41:02
问题 I have two Raspberry Pis running python code to retrieve the serial number of an RFID tag. One has an RFID reader with a Wiegand interface hooked to GPIO pins and other has an RFID reader that behaves like a keyboard connected over USB. However, I get different numbers from the two reader when scanning the same RFID tag. For example, for one tag, I get 57924897 from the Raspberry Pi with the Wiegand reader and 0004591983 from the Raspberry Pi with the USB keyboard reader. Can sombody explain

How to access a MIFARE Classic card that uses the MIFARE Application Directory structure?

牧云@^-^@ 提交于 2019-12-06 14:40:53
问题 How can I make authenticate and read data from a MIFARE Classic card that is formatted with the MIFARE Application Directory structure? I'm using Android. 回答1: See NXP's application note on the MIFARE Application Directory. Typically, in order to read data from a MIFARE Classic card that makes use of the MAD, you would do something like the following: Authenticate to sector 0 (MAD sector) using key A A0 A1 A2 A3 A4 A5 (the public MAD read key). Read block 3. Based on the general purpose byte

Android NFC, do a null check in onCreate?

南楼画角 提交于 2019-12-06 14:38:04
问题 I have code to initialize my NFC adapter, but I am not sure how to intialize the variables during the onCreate. The app can be initialized whether an NFC TAG is in proximity or not, ie. if someone simply opened the app. So when I get down to this line NfcV nfcMessage = NfcV.get(new TagGet().getTag()); it crashes because it is null, there is no tag there if you just load the app on your own. How do I check here for != null I'm not sure which part to check or how to structure this code. The

ACR1222L FF 82 Load Authentication Keys fails with 63 00 Operation Failed

a 夏天 提交于 2019-12-06 13:55:49
问题 I'm using ACR1222L NFC smartcard reader with Mifare Plus cards (Security Level 0 as of now; manufacturer default keys A and B). I tried a variety of commands to load authentication key into the reader: FF 82 00 00 06 FF FF FF FF FF FF FF 82 00 01 06 FF FF FF FF FF FF FF 82 20 00 06 FF FF FF FF FF FF FF 82 00 00 06 A0 A1 A2 A3 A4 A5 FF 82 00 00 06 D3 F7 D3 F7 D3 F7 ... and others ... All of them are returning the error status: 63 00 (Operation Failed) What could be wrong? I have searched long

Get mifare card serial number with WinSCard library

梦想与她 提交于 2019-12-06 11:56:36
问题 I am working on an application that required reading the mifare card serial number, the language I am working with is C#. I am new to mifare reader programming, so I am sorry for asking dumb question. At first I would like to know if there is a different between Mifare UID and Mifare Serial number. I have managed to get UID with the help of WinSCard library, but I cant figure it out how to get the card serial number which should be 10 digit numbers. I do appreciate if you could point me to

Authenticating Ultralight EV1 with PC/SC reader

心已入冬 提交于 2019-12-06 07:20:06
问题 I have a problem trying to authenticate an Ultralight EV1 card using a PC/SC reader (specifically an ACR1222L) in Java. I'm able to write and read on an unprotected tag using the corresponding APDUs for ISO 14443-3 tags. However, I can't find a way to run the PWD_AUTH command since it is not part of the 14443-3 standard (or any native command for that matter). Is it possible to run this command (or any native command for that matter)? I have tried sending the following APDU {e0 00 00 24 07 1b

Android read from keyboard

狂风中的少年 提交于 2019-12-06 06:20:31
I have this logon screen with no textfields at all. When the user scans his id token with rfid scanner, i'll get a 8 character long string. Its the same princip as using an keyboard(just faster). I want my login activity to act, when the user has scanned his token and not before. Is there a smart way implementing this? I can't have any button or textfields, so I have to read keyboard input without listening to a EditText field. So, an empty screen with an image(lock), that listens to an rfid reader(or keyboard) and act when the character count is 8. If you implement onKeyDown() in your

Emulate Mifare card with Android 4.4

試著忘記壹切 提交于 2019-12-06 04:59:14
问题 I have researched Mifare and other card emulation I have very good knowledge in programming (not Android, but C/C++). I have proxmark and I have made multiple emulation codes for proxmark, so I know how the cards communicate. I don't understand currently, does android enable full card emulation. I have researched this for about 3 days now, and the conclusion is there is no one constant pattern. Some people say it is possible, some say it is not. I looked through android API and the Host-based

RFID/13.56MHZ/NFC线圈防干扰原理-附磁导材料防干扰原理 20191128

别等时光非礼了梦想. 提交于 2019-12-05 23:54:56
RFID/13.56MHZ/NFC之间采用电磁感应方式进行通信。 1、铁氧体、硅钢片等导磁材料的相对磁导率比较高,多年前在变压器中已经有广泛的应用。 有防止磁通饱和,提高变压器感应效率的作用 。 2、RFID/13.56MHZ/NFC等线圈在 导电良好、导磁不好 的材料附近(比如金属)会导致线圈前后的磁力线发生较大变化(有涡轮消耗能量,感应的磁场与原磁场方向相反),最终影响通信距离。 比如下面的描述: RFID/NFC线圈模块在一个非金属且非磁性物体对电磁场的传播基本没有受到影响,还是按照原来的方向,相当于电磁波在自由空间传播,所以电磁场的能量和方向未受到干扰。当在RFID/NFC线圈模块上贴合了一块具有良好导电性能的金属板,它的磁力线方向发生了很大的变化。主要表现在金属板前后的磁场均出现变化,这就是所谓屏蔽现象。因为金属板后面没有磁场,而面对入射电磁场的方向也会因为金属板所产生涡电流引产生一与入射电磁场方向相反的电磁场,从而削弱RFID/NFC线圈模块磁场,甚至完全抵消原磁场。 解决方案: 在面对入射电磁场方向金属板表面贴上高导磁的隔磁片后,则 可有效地为磁场传输提供有效的路径 ,因此由于隔磁片的存在, 有效地避免了金属板的涡流效应 。通过在线圈和金属表面之间插入 高磁导 的 隔磁片 ,将能够在很大程度上避免涡流的产生,从而RFID/NFC线圈模块也就可以 放心地在金属表面上使用