acr122

NFC Reader : ACR122U-A9 not holding tags

纵饮孤独 提交于 2019-12-13 06:23:32
问题 The SDK provided along with NFC reader does not work and we are not able to write data / tag using the Tools available with SDK. The main issue is that the data written using another tool does not remain in the device for permanently. When tag is scanned using Android device, reader gets clear and we have to to write data again. I have checked and tried instructions from https://github.com/fkooman/nfcip-java/blob/master/nfcip-java/doc/ACR122_PN53x.txt but it does not work. So, we need help to

Writing Ndef to NFC tag in Windows Form Application C# using ACR122U as Reader/Writer

ε祈祈猫儿з 提交于 2019-12-11 00:33:23
问题 I am trying to create and write an NDEF message to an NFC tag in a Windows Form Application (written in C#) using an ACR122U NFC reader. I have created raw bytes of the NDEF message using Andreas Jakl's NDEF library. This is the C# code: var spRecord = new NdefTextRecord { Text = "1", LanguageCode = "en" }; var msg = new NdefMessage { spRecord }; string hex = BitConverter.ToString(msg.ToByteArray()); resultBox.Text = hex.Replace('-',' '); The output I get is D1 01 04 54 02 65 6E 31

Control full APDU with NFC Software Card Emulation on Android

自闭症网瘾萝莉.ら 提交于 2019-12-09 18:42:18
问题 I'm busy with an app to emulate normal APDU communication on a Nexus 7 with CM10.1 to an ACR122U102 reader/writer. I found this blog about software card emulation and wrote an app to make my device (the nexus) appear as a card. Now I'm trying to send messages back and forth between this device and the ACR122u. So far, I've only managed to communicate with the nexus 7 by sending D4 40 01 (InDataExchange page 127) APDU's. For the application I'm writing, this should be sufficient. The problem

ACR122U emulate JIS 9319-4 tag instead of ISO 14443-4 tag when keep phone on the reader

末鹿安然 提交于 2019-12-08 03:15:51
问题 I have a strange problem. When i emulate a tag with the ACR122U it normally emulate a ISO 14443-4 (NfcA) tag. This always works in the following sequence: Start emulating with tgInitAsTarget Phone on the reader Transaction succesfull Phone off the reader But in this sequence below the emulated tag is recognized as a JIS 9319-4 tag Start emulating with tgInitAsTarget Put phone on the reader Transaction error Retransmit tgInitAsTarget Not a ISO 14443-4 tag anymore Phone off the reader So if i

Force PC/SC driver on ACR122U NFC reader

假如想象 提交于 2019-12-07 11:41:41
问题 I have trouble with using my ACR122U RFID card reader form ACS. I need to connect it to my Mac using the PC/SC driver. I installed the driver from the ACS website and confirmed that it's running. However, whenever I test using the nfc-list command, I get the following error: nfc-list uses libnfc libnfc-1.7.1-189-g2869ae2 error libnfc.driver.acr122_usb Unable to claim USB interface (Permission denied) nfc-list: ERROR: Unable to open NFC device: acr122_usb:020:002 As far as I've understood from

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

How to authenticate NTAG213 with ACR122U

旧巷老猫 提交于 2019-12-06 07:28:15
问题 I'm using an ACR122U reader with an NTAG213 card. The card is password (reading and writing) protected with the password 52 84 00 08 . What are the APDU commands I should run to authenticate the card and also to read pages 30 and 31 of it once authenticated? I know with the MiFare 1k I could load the password and authenticate a sector, but I'm not sure how authentication works with the NTAG213 cards with the ACR122U readers. 回答1: With the ACR122U you would need to send direct commands to the

Android ACR122U NFC integration

纵饮孤独 提交于 2019-12-06 06:48:25
问题 See NFC reader "SELECT (by AID)" APDU is not routed to Android device on debugging and eventual results. TL;DR the reader might simply be defunct. I have ACR122U reader connected to my Android device. My final goal is to use another Android device in HCE mode to enable data communication between the devices. Currently I have a problem with integrating with ACR122U reader. I use lib acssmc-1.1.1.jar provider by the vendor. This is the code I currently have (omitting the example code of opening

The PN532 configured as target has been released by its initiator

放肆的年华 提交于 2019-12-06 05:35:25
问题 I'm trying to put my PN532 in card-emulation mode. When i send the TgGetData command the error i get an error back from the reader. 1 . Read register {(byte)0xFF,0x00,0x00,0x00,0x08, (byte)0xD4, 0x06, 0x63, 0x05, 0x63, 0x0D, 0x63, 0x38 } RESPONSE :: D507 07 07 15 9000 2 . Update registers byte xx = (byte) 07; byte yy = (byte) 07; byte zz = (byte) 15; xx = (byte) (xx | 0x004); yy = (byte) (yy & 0x0EF); zz = (byte) (zz & 0x0F7); 3 . Write register {(byte)0xFF,0x00,0x00,0x00,0x11, (byte) 0xD4,

How to a send SNEP GET request from Android

ε祈祈猫儿з 提交于 2019-12-04 18:44:05
I have an NFC reader ACS ACR122U and I want to send data from my Android phone to it. I have found many examples on how to connect my two devices in P2P mode and how to send data from my phone to the ACR122U, but my desktop server (ACR122U) always receives a SNEP PUT request. I would send a GET request but I can find only examples that use Android built in NDEF system without specifing PUT or GET request. How can I package and send a SNEP GET request from my Android device to an ACR122U? Short answer: You can't. The Android API does not allow you to implement custom LLCP services. The only