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

IntelliStripe 310 Command Reference
18
GET TRACK 123 DECODE DATA COMMAND
Command ID: 81 (Hex)
Description:
This command is used to get decoded information related to a magnetic stripe read for tracks 1, 2
and 3. This command always returns data from the most current magnetic stripe data
acquisition. This command is used to get decode status, card encode type, 3 track data lengths
and decoded card data for 3 tracks. Each 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: None
Response Message Data:
Byte Field
Description
1 Decode
Status
Decode
status definition follows
2
Card Encode Type
Card Encode Type definition follows
3
Track 1 Data Length
Length of track 1 data
4
Track 2 Data Length
Length of track 2 data
5
Track 3 Data Length
Length of track 3 data
6 - ?
Track 1,2,3 Data
Track 1 followed by track 2 then track 3 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.