![]() ![]() ![]() Class msr inherits from Serial constructor: (self, dev_path) method reset(self) method read_tracks(self) method write_tracks(self, t1, t2, t3) method erase_tracks(self, t1, t2, t3) Example: r = msr(/dev/cuaU0) t1,t2,t3 = r.read_tracks() r.write_tracks(t3=) r.erase_tracks(t1=True) Known bugs The reset() method reset the card reader. Command line description Read the 3 strips (swipe when the orange LED is on)./msr.py -device /dev/cuxxx -read 1=%.? Or None if strip is empty 2=.? Or None if strip is empty 3=.? Or None if strip is empty Write strips 2 and 3 (swipe when the orange+green LEDs are on, do not include the leading/trailing chars /%/?)./msr605.py -device /dev/cuxxx -strip 23 -write 'strip2' 'strip3' Erase the 3 strips (swipe when the orange+green LEDs are on)./msr605.py -device /dev/cuxxx -erase Online help (to set low-coercivity or density before writting)./msr605.py -help Class description You can 'import msr' this file to use the MSR605 class in your own code. MSR605X i s a new magnetic stripe card reader writer encoder upgrade from MSR605, its using the HID USB, plug and play, users just install the MSR software. Download Software for MSR605, MSR X6, MiniDX3, MSRX6BT, MSRX6, MSR X6, MSR605X, MSR606. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |