Source code – MagTek USB MagnePrint Swipe Reader with Encryption User Manual
Page 60
USB MagnePrint Swipe Reader with Encryption
52
• Enter a command in the Message edit box. All data entered should be in hexadecimal bytes
with a space between each byte. Enter the command number followed by the command data
if there is any. The application will automatically calculate and send the command data
length for you if the Auto Add Length box is checked. For example, to send the
GET_PROPERTY command for property SOFTWARE_ID enter 00 00.
• Press Enter or click Send Msg to send the command and receive the result.
• The command request and the command result will be displayed in the Communications
Dialog edit box.
• The Clear Dialog button clears the Communication Dialog edit box.
• To read cards and view the card data when in the HID mode, click the Read Cards tab.
• To read cards and view the card data when in the Keyboard Emulation mode, do not use the
demo program. Use a text editor program such as Windows Notepad.
SOURCE CODE
Source code is included with the demo program. It can be used as a guide for application
development. It is described in detail, with comments, to assist developers. The book USB
Complete by Jan Axelson is also a good guide for application developers, especially the chapter
on Human Interface Device Host Applications (see “Reference Documents” in Section 1).