Public Member Functions | Protected Member Functions | Friends
FedmIscTagHandler_ISO15693_STM_M24LR64R Class Reference

Transponder class providing manufacturer specific commands for ISO 15693 compliant Transponders of type M24LR64-R from manufacturer STMicroelectronics SA. More...

#include <FedmIscTagHandler_ISO15693_STM_M24LR64R.h>

Inheritance diagram for FedmIscTagHandler_ISO15693_STM_M24LR64R:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual int GetMultipleBlockSecurityStatus (unsigned int uiFirstDataBlock, unsigned int uiNoOfDataBlocks, unsigned char *pucSecurityStatus)
 [0xB0][0x2C] : Get Multiple Block Security Status command
virtual int LockMultipleBlocks (unsigned int uiFirstDataBlock, unsigned int uiNoOfDataBlocks)
 [0xB0][0x22] : Lock Multiple Blocks command
int LockSectorPassword (unsigned char ucSectorNumber, unsigned char ucSectorSecurityStatus)
 [0xB1][0xB2] Lock Sector Password
int PresentSectorPassword (unsigned char ucPasswordNumber, string sPassword)
 [0xB1][0xB3] Present Sector Password
virtual int ReadMultipleBlocks (unsigned int uiFirstDataBlock, unsigned int uiNoOfDataBlocks, unsigned int &uiBlockSize, unsigned char *pucSecurityStatus, unsigned char *pucData)
 Basic [0xB0][0x23] Read Multiple Blocks command with additional security status.
virtual int WriteMultipleBlocks (unsigned int uiFirstDataBlock, unsigned int uiNoOfDataBlocks, unsigned int uiBlockSize, unsigned char *pucData)
 Basic [0xB0][0x24] Write Multiple Blocks command.
int WriteSectorPassword (unsigned char ucPasswordNumber, string sPassword)
 [0xB1][0xB1] Write Sector Password

Protected Member Functions

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

Friends

class FEDM_ISCReader
class FEDM_ISCReaderModule
class FEDM_ISOTabItem

Detailed Description

Transponder class providing manufacturer specific commands for ISO 15693 compliant Transponders of type M24LR64-R from manufacturer STMicroelectronics SA.

Description
High-level class for easy-to-use Transponder specific communication. See OBID::FEDM::Core::ITagGroup for additional information.
All methods are similiar to specific commands of M24LR64-R. Thus, you must refer to the Technical Datasheet of the M24LR64-R to get detailed information about the methods and the parameters.
Secondly, all methods of this class are Custom specific commands, realized with the Reader command [0xB1], which are described in the Application Note STMicroelectronics Custom and Proprietary Commands.pdf

Note:
Programmers should be familiar with the ISO 15693 standard

Definition at line 72 of file FedmIscTagHandler_ISO15693_STM_M24LR64R.h.


Constructor & Destructor Documentation

Definition at line 60 of file FedmIscTagHandler_ISO15693_STM_M24LR64R.cpp.

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

Definition at line 70 of file FedmIscTagHandler_ISO15693_STM_M24LR64R.cpp.

Definition at line 81 of file FedmIscTagHandler_ISO15693_STM_M24LR64R.cpp.


Member Function Documentation

int FedmIscTagHandler_ISO15693_STM_M24LR64R::GetMultipleBlockSecurityStatus ( unsigned int  uiFirstDataBlock,
unsigned int  uiNoOfDataBlocks,
unsigned char *  pucSecurityStatus 
) [virtual]

[0xB0][0x2C] : Get Multiple Block Security Status command

Parameters:
[in]uiFirstDataBlockFirst data block address
[in]uiNoOfDataBlocksNumber of data blocks to be locked to
[out]pucSecurityStatusArray with received status information, one byte for each data block. The array must have the dimension of uiNoOfDataBlocks.
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
Command with support for extended address mode
See Reader's System Manual for detailed information about the command and the method parameters

Reimplemented from FedmIscTagHandler_ISO15693.

Definition at line 315 of file FedmIscTagHandler_ISO15693_STM_M24LR64R.cpp.

int FedmIscTagHandler_ISO15693_STM_M24LR64R::LockMultipleBlocks ( unsigned int  uiFirstDataBlock,
unsigned int  uiNoOfDataBlocks 
) [virtual]

[0xB0][0x22] : Lock Multiple Blocks command

Parameters:
[in]uiFirstDataBlockFirst data block address
[in]uiNoOfDataBlocksNumber of data blocks to be locked to
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
Command with support for extended address mode
See Reader's System Manual for detailed information about the command and the method parameters

Reimplemented from FedmIscTagHandler_ISO15693.

Definition at line 254 of file FedmIscTagHandler_ISO15693_STM_M24LR64R.cpp.

int FedmIscTagHandler_ISO15693_STM_M24LR64R::LockSectorPassword ( unsigned char  ucSectorNumber,
unsigned char  ucSectorSecurityStatus 
)

[0xB1][0xB2] Lock Sector Password

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
Refer to the Application Note STMicroelectronics Custom and Proprietary Commands.pdf, where all parameters are described in detail.

Definition at line 425 of file FedmIscTagHandler_ISO15693_STM_M24LR64R.cpp.

int FedmIscTagHandler_ISO15693_STM_M24LR64R::PresentSectorPassword ( unsigned char  ucPasswordNumber,
string  sPassword 
)

[0xB1][0xB3] Present Sector Password

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
Refer to the Application Note STMicroelectronics Custom and Proprietary Commands.pdf, where all parameters are described in detail.

Definition at line 471 of file FedmIscTagHandler_ISO15693_STM_M24LR64R.cpp.

int FedmIscTagHandler_ISO15693_STM_M24LR64R::ReadMultipleBlocks ( unsigned int  uiFirstDataBlock,
unsigned int  uiNoOfDataBlocks,
unsigned int &  uiBlockSize,
unsigned char *  pucSecurityStatus,
unsigned char *  pucData 
) [virtual]

Basic [0xB0][0x23] Read Multiple Blocks command with additional security status.

Parameters:
[in]uiFirstDataBlockFirst data block address (0 ... 65535)
[in]uiNoOfDataBlocksNumber of requested data blocks
[out]uiBlockSizeNumber of bytes in each data block
[out]pucSecurityStatusArray with received status information, one byte for each data block. The array must have the dimension of uiNoOfDataBlocks
[out]pucDataPointer to array for received data blocks. The array must have the dimension of uiNoOfDataBlocks x Expected Block Size
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
Basic [0xB0][0x23] Read Multiple Blocks command with additional security status

  • With support for extended address mode

Reimplemented from FedmIscTagHandler.

Definition at line 109 of file FedmIscTagHandler_ISO15693_STM_M24LR64R.cpp.

int FedmIscTagHandler_ISO15693_STM_M24LR64R::WriteMultipleBlocks ( unsigned int  uiFirstDataBlock,
unsigned int  uiNoOfDataBlocks,
unsigned int  uiBlockSize,
unsigned char *  pucData 
) [virtual]

Basic [0xB0][0x24] Write Multiple Blocks command.

Parameters:
[in]uiFirstDataBlockFirst data block address (0 ... 65535)
[in]uiNoOfDataBlocksNumber of data blocks to transmit to
[in]uiBlockSizeNumber of bytes in each data block
[in]pucDataPointer to array with data blocks to transmit to
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
Basic [0xB0][0x24] Write Multiple Blocks command

  • With support for extended address mode

Reimplemented from FedmIscTagHandler.

Definition at line 179 of file FedmIscTagHandler_ISO15693_STM_M24LR64R.cpp.

int FedmIscTagHandler_ISO15693_STM_M24LR64R::WriteSectorPassword ( unsigned char  ucPasswordNumber,
string  sPassword 
)

[0xB1][0xB1] Write Sector Password

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
Refer to the Application Note STMicroelectronics Custom and Proprietary Commands.pdf, where all parameters are described in detail.

Definition at line 379 of file FedmIscTagHandler_ISO15693_STM_M24LR64R.cpp.


Friends And Related Function Documentation

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

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