Get track decode data command – MagTek IntelliStripe 310™ User Manual
Page 26

IntelliStripe 310 Command Reference
20
GET TRACK DECODE DATA COMMAND
Command ID: 82 (Hex)
Description:
This command is used to get decoded information related to a magnetic stripe read for a
single track. This command always returns data from the most current magnetic stripe
data acquisition. This command is used to get decode status, card encode type and
decoded card data for a given track. The track of decoded data starts with a start sentinel
and ends with an end sentinel and is converted to ASCII format. The ASCII
representation of the start and end sentinels vary depending on the encode format.
Request Message Data:
Byte Field
Description
1
Track Number
Number of desired track. This value should be 1,2 or 3.
Response Message Data:
Byte Field
Description
1
Track Number
Number of retrieved track. Always the same as requested track.
2 Decode
Status
Decode
status definition follows
3
Card Encode Type
Card Encode Type definition follows
4 - ?
Track Data
Track decoded data
Decode Status definition:
The bits are identified by numbering the least significant bit 0 and the most significant bit 7.
Bit Field
Description
0
Track 1 error
Indicates track 1 decode error if set to 1
1
Track 2 error
Indicates track 2 decode error if set to 1
2
Track 3 error
Indicates track 3 decode error if set to 1
3-7
RFU
Reserved for future use
A decode error is only indicated if a valid start sentinel exists on the track and the track cannot
be decoded. If a track cannot be decoded and if it does not have a decode error it is considered
blank.