> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/readme/annotated/struct_b_t_l_v_node.md).

# BTLVNode

[Data Fields](#pub-attribs)

`#include <`[btlv.h](/s-adk-5.1-programmers-guide/btlv_8h_source.md)`>`

Inheritance diagram for BTLVNode:

![Inheritance graph](/files/FHMSyYYdKs6mKNDb2D1N)

\[[legend](/s-adk-5.1-programmers-guide/graph_legend.md)]

Collaboration diagram for BTLVNode:

![Collaboration graph](/files/artHVfDS3L68wjLQ9gbz)

\[[legend](/s-adk-5.1-programmers-guide/graph_legend.md)]

|                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                  |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Data Fields                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                  |
| struct [BTLVNode](/s-adk-5.1-programmers-guide/readme/annotated/struct_b_t_l_v_node.md) \*                                                                                                                                                               | [pxNext](#a048aed5fef433724f94d95cfec2d33df)                                                                                                                                                                                                                                                                     |
| struct [BTLVNode](/s-adk-5.1-programmers-guide/readme/annotated/struct_b_t_l_v_node.md) \*                                                                                                                                                               | [pxFirst](#a66f9bd31fc168407f7724e16edf60bf5)                                                                                                                                                                                                                                                                    |
| struct [BTLVNode](/s-adk-5.1-programmers-guide/readme/annotated/struct_b_t_l_v_node.md) \*                                                                                                                                                               | [pxParent](#a60e4095f792d811b9826a4cff5047fcc)                                                                                                                                                                                                                                                                   |
| struct [MemoryPool](/s-adk-5.1-programmers-guide/readme/files/dir_f2a776acea245b054b8e462971041f2d/dir_a10348dacfa670aa644c1e595a24cf25/dir_2b94011182cccbeeedaa27d80210d4e6/dir_811fc19cda6e4229a2bc03f90d55dff0/mem__pool_8h.md#struct_memory_pool) \* | [pxMempool](#a3faa46016cfde528233b2d81eddc8fd3)                                                                                                                                                                                                                                                                  |
| char                                                                                                                                                                                                                                                     | [tcName](#a135733138da2d26ea5be2810030ce389) \[2 \*[MAX\_TAGSIZE](/s-adk-5.1-programmers-guide/readme/files/dir_f2a776acea245b054b8e462971041f2d/dir_a10348dacfa670aa644c1e595a24cf25/dir_2b94011182cccbeeedaa27d80210d4e6/dir_811fc19cda6e4229a2bc03f90d55dff0/btlv_8h.md#a50b52ae3c35fc20556babf890cfac1e8)+1] |
| char                                                                                                                                                                                                                                                     | [cConstructed](#aa49ad6910f8c0173df2f113ce5fe61ad)                                                                                                                                                                                                                                                               |
| unsigned char \*                                                                                                                                                                                                                                         | [pucData](#a53aa1f2ebeda62fb9f53902b93665db7)                                                                                                                                                                                                                                                                    |
| unsigned                                                                                                                                                                                                                                                 | [uSize](#a4701e420ca6a8de15ab0c6dcd3e58680)                                                                                                                                                                                                                                                                      |

### DetailedDescription <a href="#detailed-description" id="detailed-description"></a>

data node containing one tag or a root node

#### Date

4.12.2006

#### Author

M. Meixner

### FieldDocumentation <a href="#field-documentation" id="field-documentation"></a>

### cConstructed <a href="#aa49ad6910f8c0173df2f113ce5fe61ad" id="aa49ad6910f8c0173df2f113ce5fe61ad"></a>

char cConstructed

type: 0=primitive, 1=constructed

### pucData <a href="#a53aa1f2ebeda62fb9f53902b93665db7" id="a53aa1f2ebeda62fb9f53902b93665db7"></a>

unsigned char\\\* pucData

pointer to data (only primitive nodes)

### pxFirst <a href="#a66f9bd31fc168407f7724e16edf60bf5" id="a66f9bd31fc168407f7724e16edf60bf5"></a>

struct [BTLVNode](/s-adk-5.1-programmers-guide/readme/annotated/struct_b_t_l_v_node.md)\\\* pxFirst

first child (content) node

### pxMempool <a href="#a3faa46016cfde528233b2d81eddc8fd3" id="a3faa46016cfde528233b2d81eddc8fd3"></a>

struct [MemoryPool](/s-adk-5.1-programmers-guide/readme/files/dir_f2a776acea245b054b8e462971041f2d/dir_a10348dacfa670aa644c1e595a24cf25/dir_2b94011182cccbeeedaa27d80210d4e6/dir_811fc19cda6e4229a2bc03f90d55dff0/mem__pool_8h.md#struct_memory_pool)\\\* pxMempool

memory pool used for allocation

### pxNext <a href="#a048aed5fef433724f94d95cfec2d33df" id="a048aed5fef433724f94d95cfec2d33df"></a>

struct [BTLVNode](/s-adk-5.1-programmers-guide/readme/annotated/struct_b_t_l_v_node.md)\\\* pxNext

used for chaining nodes

### pxParent <a href="#a60e4095f792d811b9826a4cff5047fcc" id="a60e4095f792d811b9826a4cff5047fcc"></a>

struct [BTLVNode](/s-adk-5.1-programmers-guide/readme/annotated/struct_b_t_l_v_node.md)\\\* pxParent

parent node

### tcName <a href="#a135733138da2d26ea5be2810030ce389" id="a135733138da2d26ea5be2810030ce389"></a>

char tcName\\\[2 \\\*[MAX\_TAGSIZE](/s-adk-5.1-programmers-guide/readme/files/dir_f2a776acea245b054b8e462971041f2d/dir_a10348dacfa670aa644c1e595a24cf25/dir_2b94011182cccbeeedaa27d80210d4e6/dir_811fc19cda6e4229a2bc03f90d55dff0/btlv_8h.md#a50b52ae3c35fc20556babf890cfac1e8)+1\\]

tag name (0-terminated C-string)

### uSize <a href="#a4701e420ca6a8de15ab0c6dcd3e58680" id="a4701e420ca6a8de15ab0c6dcd3e58680"></a>

unsigned uSize

size of data (primitive node) or total size of child nodes (constructed). This size does not include the tag name or the number of bytes for the size field

***

The documentation for this struct was generated from the following file:

* emv/TLV\_Util/export/emv/[btlv.h](/s-adk-5.1-programmers-guide/btlv_8h_source.md)


---

# 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://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/readme/annotated/struct_b_t_l_v_node.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.
