libnfc  1.4.2
Data Fields
nfc_device_t Struct Reference

NFC device information. More...

#include <nfc-types.h>

Data Fields

struct driver_callbackspdc
char acName [DEVICE_NAME_LENGTH]
nfc_chip_t nc
nfc_device_spec_t nds
bool bActive
bool bCrc
bool bPar
bool bEasyFraming
bool bAutoIso14443_4
uint8_t ui8TxBits
uint8_t ui8Parameters
byte_t btSupportByte
int iLastError

Detailed Description

NFC device information.

Definition at line 56 of file nfc-types.h.


Field Documentation

char nfc_device_t::acName[DEVICE_NAME_LENGTH]

Device name string, including device wrapper firmware

Definition at line 60 of file nfc-types.h.

bool nfc_device_t::bActive

This represents if the PN53X device was initialized succesful

Definition at line 66 of file nfc-types.h.

bool nfc_device_t::bAutoIso14443_4

Should the PN53x chip switch automatically in ISO14443-4 when ISO14443

Definition at line 74 of file nfc-types.h.

bool nfc_device_t::bCrc

Is the crc automaticly added, checked and removed from the frames

Definition at line 68 of file nfc-types.h.

bool nfc_device_t::bEasyFraming

Should the PN53x chip handle frames encapsulation and chaining

Definition at line 72 of file nfc-types.h.

bool nfc_device_t::bPar

Does the PN53x chip handles parity bits, all parities are handled as data

Definition at line 70 of file nfc-types.h.

byte_t nfc_device_t::btSupportByte

Supported modulation encoded in a byte

Definition at line 80 of file nfc-types.h.

int nfc_device_t::iLastError

Last error reported by the PCD / encountered by the PCD driver MSB LSB | 00 | 00 | || || || ++—– Chip-level error (as reported by the PCD) |+———- Driver-level specific error +———– Driver-level general error (common to all drivers)

Definition at line 89 of file nfc-types.h.

nfc_chip_t nfc_device_t::nc

PN53X chip type, this is useful for some "bug" work-arounds

Definition at line 62 of file nfc-types.h.

nfc_device_spec_t nfc_device_t::nds

Pointer to the device connection specification

Definition at line 64 of file nfc-types.h.

struct driver_callbacks* nfc_device_t::pdc

Callback functions for handling device specific wrapping

Definition at line 58 of file nfc-types.h.

uint8_t nfc_device_t::ui8Parameters

Register cache for SetParameters function.

Definition at line 78 of file nfc-types.h.

uint8_t nfc_device_t::ui8TxBits

Register cache for REG_CIU_BIT_FRAMING, SYMBOL_TX_LAST_BITS: The last TX bits setting, we need to reset this if it does not apply anymore

Definition at line 76 of file nfc-types.h.


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