MagTek MagneSafe V5 User Manual

Page 17

Advertising
background image

Section 2. Communications

9

Card data is only sent to the host on the Interrupt In pipe using an Input Report. The reader will
send only one Input Report per card swipe. If the host requests data from the reader when no
data is available, the reader will send a NAK to the host to indicate that it has nothing to send.
When a card is swiped, the Input Report will be sent even if the data is not decodable. The
following table shows how the input report is structured.

Offset

Usage Name

0

Track 1 decode status

1

Track 2 decode status

2

Track 3 decode status

3

Track 1 encrypted data length

4

Track 2 encrypted data length

5

Track 3 encrypted data length

6

Card encode type

7 – 118

Track 1 encrypted data

119 – 230

Track 2 encrypted data

231 - 342

Track 3 encrypted data

343

Card status

344 – 347

MagnePrint status

348

MagnePrint data length

349 - 476

MagnePrint data

477 – 492

Device serial number

493-494

Reader Encryption Status

495 – 504

DUKPT serial number/counter

505

Track 1 Masked data length

506

Track 2 Masked data length

507

Track 3 Masked data length

508 – 619

Track 1 Masked data

620 – 731

Track 2 Masked data

732 – 843

Track 3 Masked data

844 – 851

Encrypted Session ID

852

Track 1 Absolute data length

853

Track 2 Absolute data length

854

Track 3 Absolute data length

855

MagnePrint Absolute data length

856-858

Encryption Counter

859-866

MagneSafe Version Number

867-886

Hashed Track 2 Data

Advertising