MagTek MagneSafe V5 User Manual

Page 101

Advertising
background image

Appendix D. Command Examples

93


Track 1 Encrypted = 25 42 35 34 35 32 33 30 30 35 35 31 32 32 37 31 38 39 5E 48 4F 47 41
4E 2F 50 41 55 4C 20 20 20 20 20 20 5E 30 38 30 34 33 32 31 30 30 30 30 30 30 30 37 32
35 30 30 30 30 30 30 3F 00 00 00 00

Track 2 Encrypted = 3B 35 34 35 32 33 30 30 35 35 31 32 32 37 31 38 39 3D 30 38 30 34 33
32 31 30 30 30 30 30 30 30 37 32 35 30 3F 00 00 00

Track 3 Encrypted =

MagnePrint Status (hex) = 000005A1

MagnePrint Data (hex) = 01 00 02 8C 97 A8 CA 5B 69 CF D8 66 AA 23 88 E3 E1 2B E3 79 04
D3 31 6E F5 3F 9C 30 0B E2 43 A0 4E 6C 68 09 87 B2 52 DC 89 04 A6 F0 2B A7 73 E7 03 AF
EA AD C0 1F 00 00

Device Serial Number = B000795

Track 1 Masked = %B5452300551227189^HOGAN/PAUL ^08043210000000725000000?

Track 2 Masked = ;5452300551227189=080432100000007250?

Encrypted Session ID (Hex) = 00 00 00 00 00 00 00 00


Example 2: Configuring a reader before encryption is enabled (Secureity Level 2). In this example the
reader is set up for Keyboard Emulation:

; This script demonstrates configuration commands for KB mode.
; It assumes the reader is at Security Level 2 and that the Device
; Serial Number has never been set.
00 01 10 ; Get current interface
Request : CMND=00, LEN=01, DATA=10
Response : RC= 00, LEN=01, DATA=01

01 02 10 01 ; Set Interface to KB
Request : CMND=01, LEN=02, DATA=10 01
Response : RC= 00, LEN=00, DATA=

02 00 ; Reset so changes take effect
Request : CMND=02, LEN=00, DATA=
Response : RC= 00, LEN=00, DATA=

Delay : (waited 5 seconds)

00 01 10 ; Get current interface (should return 0)
Request : CMND=00, LEN=01, DATA=10
Response : RC= 00, LEN=01, DATA=01

00 01 01 ; Get current USB SN
Request : CMND=00, LEN=01, DATA=01
Response : RC= 00, LEN=00, DATA=

01 05 01 31323334 ; Set USB SN to "1234"
Request : CMND=01, LEN=05, DATA=01 31 32 33 34
Response : RC= 00, LEN=00, DATA=

00 01 02 ; Get current Polling Interval
Request : CMND=00, LEN=01, DATA=02
Response : RC= 00, LEN=01, DATA=01

Advertising