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

PICC for NFC-B. More...

#include <nfcb.hpp>

Public Member Functions

bool valid () const
 Valid?
 
std::string pupiAsString () const
 Gets the pupi string.
 
std::string typeAsString () const
 Gets the type string.
 
Type
bool isISO14443_4 () const
 ISO14443-4?
 
Information
bool supportsNAD () const
 Supports NAD?
 
bool supportsCID () const
 Supports CID?
 
uint16_t maximumFrameLength () const
 Gets maximum frame length.
 
uint8_t maximumFrameLengthBits () const
 Gets maximum frame length bits.
 
uint8_t communicationSpeed () const
 Gets communication speed flags.
 
uint8_t fwi () const
 Gets FWI.
 

Public Attributes

uint8_t uid [8] {}
 
union { 
 
   uint8_t   atqb [ATQB_LENGTH] {} 
 ATQB.
 
   struct { 
 
      uint8_t   pupi [4] 
 Pseudo-Unique PICC Identifier.
 
      uint8_t   application [4] 
 Application Data.
 
      uint8_t   protocol [3] 
 Protocol information.
 
   }  
 
};  
 
Type type {Type::Unknown}
 Type.
 
uint8_t cid {}
 CID;.
 
uint8_t option {}
 

Detailed Description

PICC for NFC-B.

Member Function Documentation

◆ communicationSpeed()

uint8_t m5::nfc::b::PICC::communicationSpeed ( ) const
inline

Gets communication speed flags.

Returns
Communication speed capability byte

◆ fwi()

uint8_t m5::nfc::b::PICC::fwi ( ) const
inline

Gets FWI.

Returns
Frame Waiting Integer

◆ isISO14443_4()

bool m5::nfc::b::PICC::isISO14443_4 ( ) const
inline

ISO14443-4?

Returns
True if the PICC supports ISO/IEC 14443-4

◆ maximumFrameLength()

uint16_t m5::nfc::b::PICC::maximumFrameLength ( ) const
inline

Gets maximum frame length.

Returns
Maximum frame length in bytes

◆ maximumFrameLengthBits()

uint8_t m5::nfc::b::PICC::maximumFrameLengthBits ( ) const
inline

Gets maximum frame length bits.

Returns
Maximum frame length code from the protocol bytes

◆ pupiAsString()

std::string m5::nfc::b::PICC::pupiAsString ( ) const

Gets the pupi string.

Returns
PUPI string

◆ supportsCID()

bool m5::nfc::b::PICC::supportsCID ( ) const
inline

Supports CID?

Returns
True if CID is supported

◆ supportsNAD()

bool m5::nfc::b::PICC::supportsNAD ( ) const
inline

Supports NAD?

Returns
True if NAD is supported

◆ typeAsString()

std::string m5::nfc::b::PICC::typeAsString ( ) const

Gets the type string.

Returns
PICC type string

◆ valid()

bool m5::nfc::b::PICC::valid ( ) const
inline

Valid?

Returns
True if the PICC supports ISO/IEC 14443-4