Track 3 decode status, Track 1 data length, Track 2 data length – MagTek USB HID SURESWIPE & USB HID SWIPE READER User Manual

Page 22: Track 3 data length, Card encode type

Advertising
background image

USB HID Swipe Reader

16

TRACK 3 DECODE STATUS

Bits

7-1

0

Value

Reserved

Error

This is a one-byte value, which indicates the status of decoding track 3. Bit position zero
indicates if there was an error decoding track 3 if this bit is set to one. If it is zero, then no error
occurred. If a track has data on it that is not noise, and it is not decodable, then a decode error is
indicated. If a decode error is indicated, the corresponding track data length value for the track
that has the error will be set to zero and no valid track data will be supplied.

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

CADL encode format. Note that (after the June 2005 update)
this reader can only read track 2 for this format. It cannot read
tracks 1 and 3. However, this format is obsolete. There should
no longer be any cards in circulation that use this format.
California is now using the AAMVA format.

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