Skip to content

A C++ library to interact with a MSR605/606 magnetic strip reader/writer in linux

License

Notifications You must be signed in to change notification settings

geoherna/lib605

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lib605 Build Status

This is a library for interacting with the MSR605/606 Magnetic Strip Reader/Writer

Building

To build just run make, then copy the header lib605.hpp into /usr/local/include and lib605.so into /usr/local/lib then run a quick ldconfig to update the library cache

Usage

Prior to use, you must first load the usbserial and pl2303 modules so that when you connect the device it will create a /dev/ttyUSBX where X is the device number. After that you are free to use the library.

In the future it might be possible for the library to load the modules if they are not loaded already, but that is for another day.

To use the library, assuming you followed the building steps, just include the lib605.hpp header and create a new lib605::MSR object. Then call the lib604::MSR.Initialize() Method, this should initialize the device and preform a self test. The method will return true if the initialization succeeded.

About

A C++ library to interact with a MSR605/606 magnetic strip reader/writer in linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published