Code Monkey home page Code Monkey logo

nfc-st-srx's Introduction

Libnfc ST SRx reading/writing tool

Tool to read/write ST SRx tags. Only tested with SRIX4K tags, your mileage with SRI512 tags may vary.

Building

Requires libnfc (discovered with pkg-config) and CMake.

mkdir build
cd build
cmake ..
make

Usage

usage: ./nfc_st_srx [-h] [-v] [-w | -d] [-t x4k|512] [-f FILE]

Options:
  -h         Show this help message
  -v         Verbose - print transceived messages
  -w         Write dump instead of reading
  -d         Dry run - check for potential irreversible changes instead of writing
  -f FILE    Dump (write) memory content to (from) FILE
  -f -       Dump (write) memory content to stdout (from stdin) (default)
  -t x4k|512 Select SRIX4K or SRI512 tag type. Default is SRIX4K

Note on writing tags

Compliant ST SRx tags have some blocks that, once changed, cannot be changed back to their original value. Before writing a tag, make sure you're aware of this.

I implemented a "dry run" check feature which reads the tag and compares it with the dump to see if writing the dump would cause irreversible changes.

However, I would advise you not to trust it as it's not been heavily tested.

nfc-st-srx's People

Contributors

depau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.