rfid

RFID algorithm to get card ID

眉间皱痕 提交于 2019-12-05 11:04:34
I receive bytes from an RFID reader when presenting a card, but I'm unable to figure out how to derive the card ID from these bytes. For example, I have a card that has these numbers printed on it: 0007625328 116,23152 . I would expect that this is the ID of that card, right? For this card, I get the following bytes from the reader (in hexadecimal representation): <42><09><01><74><00><74><5A><70> . The decimal number 0007625328 translates to 0x00745A70 in hexadecimal representation. The number 116,23152 is actually a different representation of that same value (0007625328): 116 in decimal is

射频识别系统的组成及工作原理解析

南笙酒味 提交于 2019-12-05 07:04:04
一、什么是射频识别? 射频识别(RFID)是一种无线通信技术,可以通过无线电讯号识别特定目标并读写相关数据,而无需识别系统与特定目标之间建立机械或者光学接触。射频识别最重要的优点是非接触识别,它能穿透雪、雾、冰、涂料、尘垢和条形码无法使用的恶劣环境阅读标签,并且阅读速度极快,大多数情况下不到100毫秒。 射频识别技术的优势不在于监测设备及环境状态,而在于“识别”。即通过主动识别进入到磁场识别范围内的物体来做相应的处理。RFID不是传感器,它主要通过标签对应的唯一ID号识别标志物。而传感器是一种检测装置,能感受到被测量的信息,并能将检测感受到的信息,按一定规律变换成为电信号或其他所需形式的信息输出,以满足信息的传输、处理、存储、显示、记录和控制等要求。它是实现自动检测和自动控制的首要环节。 二、射频识别系统组成及工作原理 1、射频识别系统组成 射频识别系统主要由三部分组成:标签、天线、阅读器。此外,还需要专门的应用系统对阅读器识别做相应处理。 图1 RFID系统按组成 1)标签:电子标签或称射频标签、应答器,由芯片及内置天线组成。芯片内保存有一定格式的电子数据,作为待识别物品的标识性信息,是射频识别系统的数据载体。内置天线用于和射频天线间进行通信。 2)阅读器:读取或读/写电子标签信息的设备,主要任务是控制射频模块向标签发射读取信号,并接收标签的应答,对标签的对象标识信息进行解码

Is Apple Watch detected by an RFID reader?

元气小坏坏 提交于 2019-12-05 06:09:22
I'm new to NFC technology. Apple hasn't yet opened NFC for developers. Does this mean that 3rd party application can't write data or trigger an action on the device? But is it possible to identify the watch using an RFID reader similar to a smart card? This is possible using a Apple Wallet Pass with NFC support. These require special approval from Apple but allow an Apple Watch or iPhoneSE/6/6s/6+/7/7+ to present a unique identifier to an NFC reader. Privacy may be a concern but the Value Add Services (VAS) protocol that Apple opted for in their NFC implementation allows for the NFC reader to

How can I write data on UHF RFID tags?

不想你离开。 提交于 2019-12-05 05:20:57
I am working on an RFID-based inventory control project, and I want to make a writer through which I can write data on each passive RFID tag. How can I accomplish that? Depending on your budget, it may be much simpler to purchase an RFID reader (which is also a writer) than to make one. There are many great readers on the market with fairly easy to use APIs. Also, most of the major UHF RFID readers work with a common standard called LLRP (Low Level Reader Protocol); so, you can write one set of code and it will work with any reader that supports LLRP. The vast majority of UHF RFID tags work on

Question on C# threading with RFID

拟墨画扇 提交于 2019-12-05 05:19:30
问题 My question is for feedback on making sure I am taking the right approach, and handling the threading correctly. I have a feeling I may need to set of some of my own threads, so all feedback is welcome. The problem I have is reading RFID tags from zero or more RFID readers. I can read for a single reader without an issue so reading from several will not be an issue. Each Tag or batch of Tags read by the reader is delivered by a .Net Event. My plan is to setup a ReaderControl class, which

Standards for smartcard communication

半城伤御伤魂 提交于 2019-12-05 00:22:42
问题 What is the difference between ISO 14443-3 and ISO 7816-4 APDUs? I'm asking this because seems some cards use former to communicate with reader, some latter. I'm confused with this, would like to get a good understanding about this. For example, I think Mifare Classic uses ISO 14443-3. But what confused me here is that when I wrote application to communicate with Mifare classic, I was sending APDUs to it. 回答1: The ISO 14443 standard defines the physical RF transport protocol for communication

Android NFC, do a null check in onCreate?

家住魔仙堡 提交于 2019-12-04 19:23:48
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 result is that I want to read the contents of the tag IFF a tag is present. Otherwise just load the layout

Mifare Change KEY A and B

僤鯓⒐⒋嵵緔 提交于 2019-12-04 19:17:34
问题 I have an ACR122U Contactless NFC reader. I bought a lot of blank RFID Mifare 4k tags. Their default Authentication KEY A and KEY B is FF FF FF FF FF FF. Now I want to change them to something else. I'm using APDU structure. I'm sending commands like this and it works well: byte[] baData = { 0x01, 0x00, (byte)i, 0x60, 0x00 }; APDUCommand apdux3 = new APDUCommand((byte)0xFF, (byte)0x86, (byte)0x00, (byte)0x00, baData, 0x05); It works well. I don't know what this interface and model means, but

NfcV Transceive command throws tag lost exception with TI HF-I plus tag(ISO15693) in android

我的未来我决定 提交于 2019-12-04 17:28:15
I am trying to talk to a ISO15693 Tag. Tag type is TI HF-I Plus. When I issue a Get System Info command, the command executes normally and a proper response is received. For most other commands sent to the tag, the framework does not seem to handle the response properly. TAG LOST exception is thrown for most other commands. Has anyone successfully implemented ISO15693 commands in Android ? Source code: @Override protected byte[] doInBackground(byte[]... params) { NfcV mNfcVObject = NfcV.get(mTag); byte[] mCommand = null; switch(params[0][0]){ case ReadSingleBlock: mCommand = new byte[]{0x02,

Get mifare card serial number with WinSCard library

旧城冷巷雨未停 提交于 2019-12-04 16:25:50
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 the right direction. Thanks in advance for the help. Regards C# signature of SCardTransmit method