MagTek MagneSafe V5 User Manual

Page 109

Advertising
background image

Appendix D. Command Examples

101

100 63000050000445=000000000000?|0200|%B54523005512271
150 89^HOGAN/PAUL ^08043210000000725000000?|;5452
200 300551227189=080432100000007250?|+5163499080020445
250 =000000000000?||||0000000000000000||6F36||1000

According to the MagneSafe Swipe Reader Technical Reference Manual the
Data is broken down like this:

[P30]
[P32] [Tk1 SS] [Tk1 Masked Data] [ES] [P33]
[P32] [Tk2 SS] [Tk2 Masked Data] [ES] [P33]
[P32] [Tk3 SS] [Tk3 Masked Data] [ES] [P33]
[P31]
[P35] [Reader Encryption Status]
[P35] [Tk1 Encrypted Data (including TK1 SS and ES)]
[P35] [Tk2 Encrypted Data (including TK2 SS and ES)]
[P35] [Tk3 Encrypted Data (including TK3 SS and ES)]
[P35] [MagnePrint Status]
[P35] [Encrypted MagnePrint data]
[P35] [Device serial number]
[P35] [Encrypted Session ID]
[P35] [DUKPT serial number/counter]
[P35] [Clear Text CRC]
[P35] [Encrypted CRC]
[P35] [Format Code]
[P34]

Each of the Pxx elements has the default value in this configuration, thus we
can reinterpret the format as:

%[Tk1 Masked Data]?
;[Tk2 Masked Data]?
+[Tk3 Masked Data]?
|[Reader Encryption Status]
|[Tk1 Encrypted Data (including TK1 SS and ES)]
|[Tk2 Encrypted Data (including TK2 SS and ES)]
|[Tk3 Encrypted Data (including TK3 SS and ES)]
|[MagnePrint Status]
|[Encrypted MagnePrint data]
|[Device serial number]
|[Encrypted Session ID]
|[DUKPT serial number/counter]
|[Clear Text CRC]
|[Encrypted CRC]
|[Format Code]
<ENTER>

Using this information, we can put the respective data from the Raw Data into
the structure:

%B5452000000007189^HOGAN/PAUL ^08040000000000000000000?
;5452000000007189=080400000000000000?
+5163000050000445=000000000000?
|0200
|%B5452300551227189^HOGAN/PAUL ^08043210000000725000000?
|;5452300551227189=080432100000007250?
|+5163499080020445=000000000000?
|
|
|

Advertising