Public Member Functions | Protected Member Functions | Protected Attributes | Friends
FedmIscTagHandler_ISO14443_4_MIFARE_Plus Class Reference

Transponder class providing manufacturer specific commands for ISO 14443-4 compliant Transponders of type MIFARE Plus from manufacturer NXP Semiconductors. More...

#include <FedmIscTagHandler_ISO14443_4_MIFARE_Plus.h>

Inheritance diagram for FedmIscTagHandler_ISO14443_4_MIFARE_Plus:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int FirstAuthent (unsigned int uiAesKeyBlockNumber, unsigned char ucPcdCapLength, unsigned char *pucPcdCap2, unsigned char ucReaderKeyIndex)
 MIFARE Plus Command [0x70], realized with Reader command [0xC2][0x70] First Authentication.
int FollowingAuthent (unsigned int uiAesKeyBlockNumber, unsigned char ucReaderKeyIndex)
 MIFARE Plus Command [0x76], realized with Reader command [0xC2][0x76] Following Authentication.
unsigned int GetErrorCode ()
 Method to query the last Error Code.
unsigned char GetErrorSource ()
 Method to query the last Error Source.
virtual void Init ()
 Initialization method.

Protected Member Functions

 FedmIscTagHandler_ISO14443_4_MIFARE_Plus (FEDM_ISCReader *pReader, FEDM_ISOTabItem *pTabItem)
 FedmIscTagHandler_ISO14443_4_MIFARE_Plus (FEDM_ISCReader *pReader, unsigned int uiTagHandlerType, FEDM_ISOTabItem *pTabItem)
virtual ~FedmIscTagHandler_ISO14443_4_MIFARE_Plus ()

Protected Attributes

unsigned char m_ucErrorSource
unsigned int m_uiErrorCode

Friends

class FEDM_ISCReader
class FEDM_ISCReaderModule
class FEDM_ISOTabItem

Detailed Description

Transponder class providing manufacturer specific commands for ISO 14443-4 compliant Transponders of type MIFARE Plus from manufacturer NXP Semiconductors.

Description
High-level class for easy-to-use Transponder specific communication. See OBID::FEDM::Core::ITagGroup for additional information.
This class implements the communication with [0xC2] Reader commands.
Detailed description about the command interface can be found in:

Note:
Programmers should be familiar with the ISO 14443 standards

Definition at line 69 of file FedmIscTagHandler_ISO14443_4_MIFARE_Plus.h.


Constructor & Destructor Documentation

FedmIscTagHandler_ISO14443_4_MIFARE_Plus::FedmIscTagHandler_ISO14443_4_MIFARE_Plus ( FEDM_ISCReader pReader,
unsigned int  uiTagHandlerType,
FEDM_ISOTabItem pTabItem 
) [protected]

Definition at line 65 of file FedmIscTagHandler_ISO14443_4_MIFARE_Plus.cpp.

Definition at line 76 of file FedmIscTagHandler_ISO14443_4_MIFARE_Plus.cpp.


Member Function Documentation

int FedmIscTagHandler_ISO14443_4_MIFARE_Plus::FirstAuthent ( unsigned int  uiAesKeyBlockNumber,
unsigned char  ucPcdCapLength,
unsigned char *  pucPcdCap2,
unsigned char  ucReaderKeyIndex 
)

MIFARE Plus Command [0x70], realized with Reader command [0xC2][0x70] First Authentication.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is an Authentication command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE Plus from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 118 of file FedmIscTagHandler_ISO14443_4_MIFARE_Plus.cpp.

int FedmIscTagHandler_ISO14443_4_MIFARE_Plus::FollowingAuthent ( unsigned int  uiAesKeyBlockNumber,
unsigned char  ucReaderKeyIndex 
)

MIFARE Plus Command [0x76], realized with Reader command [0xC2][0x76] Following Authentication.

Returns:
  • 0 if OK
  • < 0 [error code](OBID::FEDM::Core::Error)
  • > 0 status byte of the responded protocol, if the Reader signals a problem. See Reader's System Manual for the full list with all status bytes.

Description
This method is an Authentication command.
Detailed description about the command and the parameters can be found in:

  • Product Datasheet for MIFARE Plus from NXP Semiconductors
  • System Manual SoftCrypto Functions from FEIG ELECTRONIC

Definition at line 169 of file FedmIscTagHandler_ISO14443_4_MIFARE_Plus.cpp.

Method to query the last Error Code.

Returns:
Error Code

Description

Definition at line 94 of file FedmIscTagHandler_ISO14443_4_MIFARE_Plus.cpp.

Method to query the last Error Source.

Returns:
Error Source

Description

Definition at line 89 of file FedmIscTagHandler_ISO14443_4_MIFARE_Plus.cpp.

Initialization method.

Description
Clears all data members

Reimplemented from FedmIscTagHandler_ISO14443_4.

Definition at line 81 of file FedmIscTagHandler_ISO14443_4_MIFARE_Plus.cpp.


Friends And Related Function Documentation

friend class FEDM_ISCReader [friend]
friend class FEDM_ISCReaderModule [friend]
friend class FEDM_ISOTabItem [friend]

Member Data Documentation

Definition at line 144 of file FedmIscTagHandler_ISO14443_4_MIFARE_Plus.h.

Definition at line 145 of file FedmIscTagHandler_ISO14443_4_MIFARE_Plus.h.


The documentation for this class was generated from the following files:


maggie_rfid_drivers
Author(s): Raul Perula-Martinez
autogenerated on Mon Sep 14 2015 03:05:32