Giter Site home page Giter Site logo

mdeverdelhan / acr122u-reader-writer Goto Github PK

View Code? Open in Web Editor NEW
217.0 15.0 99.0 82 KB

A simple tool to read/write Mifare RFID tags with an ACR122U device

Home Page: http://github.com/mdeverdelhan/ACR122U-reader-writer

License: MIT License

Java 100.00%
java mifare nfc reader writer

acr122u-reader-writer's Introduction

ACR122U-reader-writer

Here is a simple Java program to read/write Mifare RFID tags with an ACR122U device.

Features

  • Read/dump Mifare Classic tags
  • Write to Mifare Classic tags (block-wise)
  • ACR122U compliant
  • Supported tags: Mifare Classic 1K (only)
  • JRE 7.0 or later
  • MIT Licensed

Build

~$ mvn clean package

Usage

~$ java -jar ./acr122urw.jar -h
Usage: java -jar acr122urw.jar [option]
Options:
    -h, --help                      show this help message and exit
    -d, --dump [KEYS...]            dump Mifare Classic 1K cards using KEYS
    -w, --write S B KEY DATA        write DATA to sector S, block B of Mifare Classic 1K cards using KEY
Examples:
    java -jar acr122urw.jar --dump FF00A1A0B000 FF00A1A0B001 FF00A1A0B099
    java -jar acr122urw.jar --write 13 2 FF00A1A0B001 FFFFFFFFFFFF00000000060504030201

About the ACR122U reader/writer

ACR122U NFC reader/writer

The ACR122U NFC Reader is made by Advanced Card Systems Ltd (Hong Kong, China).

Device features

  • PC-linked contactless smart card (NFC) reader/writer
  • Contactless operating frequency: 13.56 MHz
  • Supports: ISO14443 Type A & B, MIFARE®, FeliCa, 4 types of NFC (ISO/IEC18092) tags
  • Interface: USB
  • Operating Distance: Up to 50 mm (depends on the tag type)
  • Operating Voltage: DC 5.0V
  • Compliance/Certifications: ISO 14443, PC/SC, CCID
  • Size: 98 mm x 65 mm x 12.8 mm
  • Weight: 70 g

Notes

System requirements

~# # For Debian Testing
~# echo "install pn533 /bin/false" >> /etc/modprobe.d/blacklist-nfc.conf
~# echo "install nfc /bin/false" >> /etc/modprobe.d/blacklist-nfc.conf
~# modprobe -r pn533 nfc
~# apt-get install libpcsclite1 libccid pcscd libacsccid1 pcsc-tools
~# pcscd -f

Donations

Bitcoin address: 13BMqpqbzJ62LjMWcPGWrTrdocvGqifdJ3

acr122u-reader-writer's People

Contributors

mdeverdelhan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acr122u-reader-writer's Issues

Update documentation

The app name is reader writer but from the help screen it is not clear how one can read in a card?

Windows support?

How can i run it on windows?
How can i add support for another card like sri 512?

Need include com.acs.smartcard library?

Hi. I couldn't get this project to work. The error is it can't detect the reader while I already plugged in USB ACR122U Reader. Looking at the pom.xml. Should I include the "com.acs.smartcard" library?

probably like this

<dependency> <groupId>com.acs.smartcard</groupId> <artifactId>acssmc</artifactId> <version>1.1.2</version> </dependency>

How to write string to card, not understanding one piece of code.

Is this just writing an array of bytes, I don't see String anywhere?

--write S B KEY DATA\twrite DATA to sector S, block B of Mifare Classic 1K cards using KEY\n

I don't understand this line above.

Is the following an array of bytes which translates to what? Can I hold a string value in a card and how would it be done?

--write 13 2 FF00A1A0B001 FFFFFFFFFFFF00000000060504030201"

How do i build this thing

How am i suppose to build this there is only one build instruction of mvn clean install, no further information?

How do i get the "acr122urw.jar" file?

This is stupid i know. But I've been looking around for acr122urw.jar, didn't find it. Should i generate it from one of the java classes in the project?

Need Android App

Hello,
Do you have any android sample to read/write NFC code.Please send me...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.