4 - Data Types and Shared TLV Data Objects
4
Data Types and Shared TLV Data Objects
This section describes the primitive and composed data types referred to throughout this document.
4.1
Primitive Data Types
TLV data objects use the following primitive data types:
•
A = Alphabetic (string, no numbers).
•
AN = Alphanumeric (string).
•
B = Binary value, which includes bit combinations ("OR" types).
•
CN = Compressed numeric, as defined by EMV 4.3 Book 3, section Data Element Format
Conventions.
•
N = Numeric, as defined by EMV 4.3 Book 3, section Data Element Format Conventions.
•
T = TLV Constructed data object (TLV Value contains additional layers of TLV-encoded data the
parser should continue to process).
4.2
About Track Data
After the host receives and decrypts EMV ARQC Type data or Merchant Data Container data from the
device, it may need to parse each track into individual values embedded in the tracks. The device can
read multiple card formats, which vary even between different issuers and payment brands using the same
underlying standards. Describing all possible formats is beyond the scope of this document, but this
section describes how to parse data from tracks 1, 2, and 3 in a generic ISO/ABA compliant format as an
example.
Table 4.2-1 shows an example of ISO/ABA track data the device sends to the host, using unmasked
placeholder numbers to make it easier to see the relative positions of the values embedded in the track
data. It is important to note that some cards do not include Track 3 data. Manually entered data does not
include Track 3.
Table 4.2-1 - Example Generic ISO/ABA Track Data Format
%75555555555555555^CARDHOLDER NAME/^33338880004444000006?
Track 1 Data
;5555555555555555=33338880004444006?
Track 2 Data
;5555555555555555=333388800044440000006?
Track 3 Data
The example track data in Table 4.2-1 can be interpreted as follows:
•
The
,
, and
are Sentinels / delimiters, and are taken directly from the data on the card.
%
?
;
•
The
at the beginning of Track 1 data is the card format code. For swiped credit / debit cards, this
7
comes from the card and is generally
•
The string of
s is the Account Number / License Number / PAN.
5
•
The carets
are a standard ISO track 1 delimiter surrounding the Cardholder Name.
^
•
CARDHOLDER NAME/
.
ENTRY/
•
The string of
s is the Expiration Date (YYMM).
3
DynaFlex II Go| Secure Card Reader | Programmer's Manual (COMMANDS)
Generic ISO/ABA Track Data Format
. Manually entered data uses
B
is the Cardholder Name. Manually entered data uses string literal
Page 42 of 301 (D998200597-102)
.
M
MANUAL
Need help?
Do you have a question about the DynaFlex II Go and is the answer not in the manual?
Questions and answers