Track 1 decode status, Track 2 decode status, Track 3 decode status – MagTek USB MagnePrint Swipe Reader with Encryption User Manual

Page 27: Track 1 data length, Track 2 data length, Track 3 data length, Card encode type

Advertising
background image

Section 4. USB Communications

19

Track 1 Decode Status

Bits 7-1

0

Value Reserved Error

This is a one-byte value, which indicates the status of decoding track 1. Bit position zero
indicates if there was an error decoding track 1 if the 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 2 Decode Status

Bits 7-1

0

Value Reserved Error

This is a one-byte value, which indicates the status of decoding track 2. Bit position zero
indicates if there was an error decoding track 2 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 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.

Advertising