beautypg.com
v
TABLE OF CONTENTS
SECTION 1. FEATURES AND SPECIFICATIONS..................................................................................... 1
FEATURES ............................................................................................................................................... 1
CONFIGURATIONS ................................................................................................................................. 2
ACCESSORIES ........................................................................................................................................ 2
REFERENCE DOCUMENTS.................................................................................................................... 2
SPECIFICATIONS .................................................................................................................................... 2
SECTION 2. INSTALLATION ...................................................................................................................... 5
USB CONNECTION ................................................................................................................................. 5
WINDOWS PLUG AND PLAY SETUP ..................................................................................................... 6
MOUNTING............................................................................................................................................... 6
SECTION 3. OPERATION ........................................................................................................................... 7
LED INDICATOR ...................................................................................................................................... 7
CARD READ ............................................................................................................................................. 7
SECTION 4. USB COMMUNICATIONS....................................................................................................... 9
HID USAGES ............................................................................................................................................ 9
REPORT DESCRIPTOR ........................................................................................................................ 10
CARD DATA ........................................................................................................................................... 11
TRACK 1 DECODE STATUS ................................................................................................................. 12
TRACK 2 DECODE STATUS ................................................................................................................. 12
TRACK 3 DECODE STATUS ................................................................................................................. 12
TRACK 1 DATA LENGTH....................................................................................................................... 12
TRACK 2 DATA LENGTH....................................................................................................................... 12
TRACK 3 DATA LENGTH....................................................................................................................... 12
CARD ENCODE TYPE ........................................................................................................................... 13
TRACK DATA ......................................................................................................................................... 13
TRACK 1 DATA ...................................................................................................................................... 13
TRACK 2 DATA ...................................................................................................................................... 13
TRACK 3 DATA ...................................................................................................................................... 13
COMMANDS........................................................................................................................................... 14
COMMAND NUMBER ............................................................................................................................ 14
DATA LENGTH ....................................................................................................................................... 14
DATA....................................................................................................................................................... 14
RESULT CODE....................................................................................................................................... 15
GET AND SET PROPERTY COMMANDS............................................................................................. 15
SOFTWARE_ID PROPERTY ................................................................................................................. 16
SERIAL_NUM PROPERTY .................................................................................................................... 17
POLLING_INTERVAL PROPERTY ........................................................................................................ 17
SECTION 5. DEMO PROGRAM................................................................................................................. 19
INSTALLATION....................................................................................................................................... 19
OPERATION ........................................................................................................................................... 19
SOURCE CODE ..................................................................................................................................... 20
FIGURES
Figure 1-1. USB Swipe Reader----------------------------------------------------------------------------------------------- vi
Figure 1-2. Dimensions--------------------------------------------------------------------------------------------------------- 4
Figure 2-1. Reader Cable and Connector---------------------------------------------------------------------------------- 5
TABLES
Table 1-2. Specifications ------------------------------------------------------------------------------------------------------- 3
Table 2-1. 4-Pin Connector ---------------------------------------------------------------------------------------------------- 5