Track 1 data length, Track 2 data length, Track 3 data length – MagTek P-SERIES USB User Manual

Page 23: Card encode type

Advertising
background image

Section 4. USB Communications (HID)

15


TRACK 1 DATA LENGTH

This one byte value indicates how many bytes of decoded card data are in the track 1 data field.
This value will be zero if there was no data on the track or if there was an error decoding the
track.

TRACK 2 DATA LENGTH

This one byte value indicates how many bytes of decoded card data are in the track 2 data field.
This value will be zero if there was no data on the track or if there was an error decoding the
track.

TRACK 3 DATA LENGTH

This one byte value indicates how many bytes of decoded card data are in the track 3 data field.
This value will be zero if there was no data on the track or if there was an error decoding the
track.

CARD ENCODE TYPE

This one byte value indicates the type of encoding that was found on the card. The following
table defines the possible values.

Value

Encode Type

Description

0

ISO/ABA

ISO/ABA encode format

1

AAMVA

AAMVA encode format

2

CADL

No longer supported

3

Blank

The card is blank

4

Other

The card has a non-standard encode format. For example, ISO/ABA
track 1 format on track 2.

5

Undetermined

The card encode type could not be determined because no tracks could
be decoded.

6

None

No decode has occurred. This type occurs if no magnetic stripe data
has been acquired since the data has been cleared or since the device
was powered on. This device only sends an Input report when a card
has been swiped so this value will never occur.

Advertising