A small utility to handle reading and writing magnetic stripe cards over serial.
- Python 100%
| .gitignore | ||
| COPYING | ||
| magstripe.py | ||
| README.md | ||
magstripe
A small utility to handle reading and writing magnetic stripe cards over serial. Tested with the SparkFun SEN-08634, but may work for other writers as well.
Prerequisites
- Python 3.x
- pyserial
Usage
Reading a card
chmod 0666 /dev/ttyUSB0./magstripe.py /dev/ttyUSB0
Writing to a card
chmod 0666 /dev/ttyUSB0echo ";1234567890?" | ./magstripe.py -w /dev/ttyUSB0