Sem descrição

Pierre Bourdin 9f6d8d427f [fix] for new freefarelib há 3 anos atrás
dump 8f15118a23 fix 0credits bug, add full access tag support há 8 anos atrás
LICENSE c59e8323ad Init commit há 8 anos atrás
Makefile 9f6d8d427f [fix] for new freefarelib há 3 anos atrás
README.md 9f6d8d427f [fix] for new freefarelib há 3 anos atrás
color.h 772ad8e782 bug fix, colorise out, reorganize dumps há 8 anos atrás
couper.c a0985c3d7f correction des warnings há 8 anos atrás
poolset.c 9f6d8d427f [fix] for new freefarelib há 3 anos atrás

README.md

RFID Poolset

PoC to load and reload credits from Mifare Classic (S50)

First, you need libnfc and libfreefare, and maybe not from the Debian repository... Second, you have to compile ;)

    $ make all
    $ ./poolset 
    =========================
    RFID Poolset Read/Write !
    =========================
    How it works? So easy !
      --read        Read credits and date
      --write       Write <credit> <buy_date> <expire_date>
                        Ex: ./poolset --write 10 25/12/16 25/06/16

That's all.

    $ ./poolset --read
    =========================
    RFID Poolset Read/Write !
    =========================
    NFC reader: pn532_uart:/dev/ttyUSB0 opened and waiting for a tag

    => Tag number 0 with UID fbf8a3ef type Mifare 1k (S50) found !
    => Trying to authenticate with SecretKey 00 01 31 b9 3f 28 ...
    => Mifare tag connected !
    => Tag authenticated !
    =-=-=-=-=-=-=- INFOS -=-=-=-=-=-=-=-=
    => Company Serial :   08 f1 03 00
    => Credits :        10
    => Buy date :     01/01/15
    => Expiration date :    01/01/20
    => Type :         Credited card