https://github.com/depau/nfc-st-srx
Libnfc tool to read ST SRx tags
https://github.com/depau/nfc-st-srx
libnfc nfc rfid sri512 srix4k srx st
Last synced: about 1 month ago
JSON representation
Libnfc tool to read ST SRx tags
- Host: GitHub
- URL: https://github.com/depau/nfc-st-srx
- Owner: depau
- License: gpl-3.0
- Created: 2019-07-02T20:29:51.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-02T09:39:37.000Z (over 4 years ago)
- Last Synced: 2025-04-12T05:38:39.935Z (about 1 month ago)
- Topics: libnfc, nfc, rfid, sri512, srix4k, srx, st
- Language: C
- Size: 24.4 KB
- Stars: 9
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```bash
mkdir build
cd build
cmake ..
make
```## Usage
```txt
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.