M5Unit-NFC 0.1.0 git rev:93745b5
Loading...
Searching...
No Matches
m5::nfc::apdu::TLV Struct Reference

TLV element. More...

#include <apdu.hpp>

Public Member Functions

bool is_constructed () const
 Is constructed TLV?
 
bool is_primitive () const
 Is primitive TLV?
 

Public Attributes

uint32_t tag {}
 T (Tag)
 
uint32_t len {}
 L (length)
 
const uint8_t * v {}
 V.
 
uint8_t tag_len {}
 Tag length.
 

Detailed Description

TLV element.

Member Function Documentation

◆ is_constructed()

bool m5::nfc::apdu::TLV::is_constructed ( ) const
inline

Is constructed TLV?

Returns
True if the tag indicates a constructed TLV

◆ is_primitive()

bool m5::nfc::apdu::TLV::is_primitive ( ) const
inline

Is primitive TLV?

Returns
True if the tag indicates a primitive TLV