- clone this repository onto you R-Pi
cd explore-nfc-board-driver
- Build:
cmake . && make
- Mifare Ultralight
PR are very welcome if anyone need to support other type of cards
Run sudo ./explore-nfc poll
. This will try to read data from a Mifare Ultralight card every second and will output a proper json:
{
"mode" : "poll",
"uid" : "0410C2620E2981",
"data" : "68656C6C6F20626974636865730000000000000000000000000000000000000000000000000000000000000000000000"
}
Run sudo ./explore-nfc write "data to write"
. This will write "data to write" to each card and will also output a proper json:
{
"mode" : "write",
"uid" : "0410C2620E2981",
"data" : "68656C6C6F20626974636865730000000000000000000000000000000000000000000000000000000000000000000000"
}
For a full install, just cp
the binary to /usr/local/bin
- Mifare Ultralight datasheet
- Code used as a starter, huge thx to John McLear