> For the complete documentation index, see [llms.txt](https://developer.magtek.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.magtek.com/hardware/card-readers/mms-dyna-devices/dynaflex-ii-go/documentation/user-manuals/google-wallet-smart-tap-integration/tlv-parsing-forming-of-the-command-set.md).

# TLV Parsing/Forming of the Command Set

For more information on Google Wallet Smart Tap see document D998200597 DynaFlex II Go Programmer’s Manual (COMMANDS).

* Property 1.1.1.1.1.10 Google Smart Tap Collector ID Slot 1&#x20;
* Property 1.1.1.1.1.11 Google Smart Tap Collector ID Slot 2&#x20;
* Property 1.1.1.1.1.12 Google Smart Tap Collector ID Slot 3&#x20;
* Property 1.1.1.1.1.13 Google Smart Tap Collector ID Slot 4&#x20;
* Property 1.1.1.1.1.14 Google Smart Tap Collector ID Slot 5&#x20;
* Property 1.1.1.1.1.15 Google Smart Tap Collector ID Slot 6&#x20;
* Property 1.1.1.1.1.1A Google Smart Tap POS Capability

The section uses the following sample values for demonstration purposes. Keys, Collector ID, and Capability will need to be replaced with actual values during integration.

**(Protection Key - Key 0)**

{% code overflow="wrap" %}

```
7DD1722EC35C25737E7776D54D638C807EFC467EAF70A1F6909C518420CCCEE3
```

{% endcode %}

**(Google Sample Key - Key 1)**

{% code overflow="wrap" %}

```
30770201010420826D17E50767B165B0E4D9E332F8D1D1E20224284FB4DAF1E50A03246E70797D A00A06082A8648CE3D030107A14403420004721C978FCEBDCDF98A8518BDC4FEDFD802B4EE4 128E2513B665593375E238786014E7CBE8511915DC5337AF57DCD248F2653C7A6AAAEE6913096 FD71C85BC4D7
```

{% endcode %}

## Protection Key <a href="#id-7.1_protection_key" id="id-7.1_protection_key"></a>

{% code overflow="wrap" %}

```
AA0081040117EF04842BEF0481010182207DD1722EC35C25737E7776D54D638C807EFC467EAF70 A1F6909C518420CCCEE3830217DF
```

{% endcode %}

<pre data-overflow="wrap"><code>AA00
    [81] [4] 0117EF04
    [84] [43] 
EF0481010182207DD1722EC35C25737E7776D54D638C807EFC467EAF70A1F6909C5184 20CCCEE3830217DF
<strong>        EF04
</strong>            [81] [1] 01
            [82] [32] 
7DD1722EC35C25737E7776D54D638C807EFC467EAF70A1F6909C518420CCCEE3 (AES
Key : Key 0)
            [83] [2] 17DF (CRC for content of Key
0) CRC16_MCRF45X(7DD1722EC35C25737E7776D54D638C807EFC467EAF70A1F6909C
518420CCCEE3)
</code></pre>

## Long Term Key

{% code overflow="wrap" %}

```
AA0081040118EF05848196EF0581010182040000000183020079858180B402AA3EC2EC15DE2DCF8 B06C75038DD0CBDA17C03FE6A71DBF2757A6CD050C39B99E2E190FC11C80EB07F0E6E1CA4B 19A2FCEF4D35C48E0CF545045FC5F1E5C2973A8A8A05B33EBABD1D9A8FE6CBC7E55A1083AD
3CB00B452504015A96A82E3F0F49ACE94F20622251705071B73A56E8DAD2B971CD8865ACCB66 A169DF0BEF88602BB2E
```

{% endcode %}

<pre data-overflow="wrap"><code>AA00
    [81] [4] 0118EF05
    [84] [150] 
EF0581010182040000000183020079858180B402AA3EC2EC15DE2DCF8B06C75038DD0C BDA17C03FE6A71DBF2757A6CD050C39B99E2E190FC11C80EB07F0E6E1CA4B19A2FCEF4
D35C48E0CF545045FC5F1E5C2973A8A8A05B33EBABD1D9A8FE6CBC7E55A1083AD3CB00 B452504015A96A82E3F0F49ACE94F20622251705071B73A56E8DAD2B971CD8865ACCB6 6A169DF0BEF88602BB2E
<strong>        EF05
</strong>            [81] [1] 01
            [82] [4] 00000001
            [83] [2] 0079
            [85] [128] 
            B402AA3EC2EC15DE2DCF8B06C75038DD0CBDA17C03FE6A71DBF2757A6CD050C39B99E2
E190FC11C80EB07F0E6E1CA4B19A2FCEF4D35C48E0CF545045FC5F1E5C2973A8A8A05B 33EBABD1D9A8FE6CBC7E55A1083AD3CB00B452504015A96A82E3F0F49ACE94F2062225
1705071B73A56E8DAD2B971CD8865ACCB66A169DF0BEF8 ( Encrypted
Key  AES(Key 1) with Key 0)
            [86] [2] BB2E (CRC for encrypted
key) CRC16_MCRF45X(B402AA3EC2EC15DE2DCF8B06C75038DD0CBDA17C03FE6A71DB F2757A6CD050C39B99E2E190FC11C80EB07F0E6E1CA4B19A2FCEF4D35C48E0CF545045 FC5F1E5C2973A8A8A05B33EBABD1D9A8FE6CBC7E55A1083AD3CB00B452504015A96A82 E3F0F49ACE94F20622251705071B73A56E8DAD2B971CD8865ACCB66A169DF0BEF8)


PRIVATE
Key 30770201010420826D17E50767B165B0E4D9E332F8D1D1E20224284FB4DAF1E50 A03246E70797DA00A06082A8648CE3D030107A14403420004721C978FCEBDCDF98A851 8BDC4FEDFD802B4EE4128E2513B665593375E238786014E7CBE8511915DC5337AF57DC D248F2653C7A6AAAEE6913096FD71C85BC4D7
Encrypted
LTPK B402AA3EC2EC15DE2DCF8B06C75038DD0CBDA17C03FE6A71DBF2757A6CD050C3 9B99E2E190FC11C80EB07F0E6E1CA4B19A2FCEF4D35C48E0CF545045FC5F1E5C2973A8 A8A05B33EBABD1D9A8FE6CBC7E55A1083AD3CB00B452504015A96A82E3F0F49ACE94F2 0622251705071B73A56E8DAD2B971CD8865ACCB66A169DF0BEF8
CRC for Key BB2E

</code></pre>

## Retrieve Your Key Version

{% code overflow="wrap" %}

```
AA008104010AEF058405EF05810100
```

{% endcode %}

{% code overflow="wrap" %}

```
AA00
    [81] [4] 010AEF05
    [84] [5] EF05810100

    EF05
        [81] [1] 00 ( Get Key version)
```

{% endcode %}

**Response**

{% code overflow="wrap" %}

```
AA008104820AEF058204000000008408EF05810400000001
```

{% endcode %}

<pre data-overflow="wrap"><code>AA00
    [81] [4] 820AEF05
    [82] [4] 00000000
    [84] [8] EF05810400000001

        EF05
<strong>            [81] [4] 00000001
</strong></code></pre>

## Set Collector ID Slot 1

With value DF7C083230313830363038DF7D0103

{% code overflow="wrap" %}

```
AA0081040110D1118429D11181072B06010401F6098501018919E117E115E113E111D00FDF7C0832 30313830363038DF7D0103
```

{% endcode %}

<pre data-overflow="wrap"><code>AA00
    [81] [4] 0110D111
    [84] [41] D11181072B06010401F6098501018919E117E115E113E111D00FDF 7C083230313830363038DF7D0103
        D111
            [81] [7] 2B06010401F609
            [85] [1] 01
            [89] [25] E117E115E113E111D00FDF7C083230313830363038DF7D0103

<strong>            DF7C [08] 3230313830363038 Collector ID
</strong>            DF7D [01] 03 (Type)
</code></pre>

## Set Google Smart Tap POS Capability

This sample sets value to 08140300

{% code overflow="wrap" %}

```
AA008104010BD111841ED11181072B06010401F609850101890EE10CE10AE108E106DA040814030 0
```

{% endcode %}

<pre data-overflow="wrap"><code>AA00
<strong>    [81] [4] 010BD111
</strong>    [84] [30] 
D11181072B06010401F609850101890EE10CE10AE108E106DA0408140300
<strong>        D111
</strong>            [81] [7] 2B06010401F609
            [85] [1] 01
            [89] [14] E10CE10AE108E106DA0408140300
</code></pre>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.magtek.com/hardware/card-readers/mms-dyna-devices/dynaflex-ii-go/documentation/user-manuals/google-wallet-smart-tap-integration/tlv-parsing-forming-of-the-command-set.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
