Classes | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends
FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A Class Reference

Transponder class providing manufacturer specific commands for EPC Class 1 Generation 2 compliant Transponders of type SL900A from manufacturer IDS Microchip AG. More...

#include <FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h>

Inheritance diagram for FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A:
Inheritance graph
[legend]

List of all members.

Classes

struct  APP_DATA
 Structure with App Data. More...
struct  CALIBRATION
 Structure with calibration information. More...
struct  DELAY_TIME
 Structure with Delay Time data. More...
struct  LIMITS
 Structure with Limits data. More...
struct  LIMITS_COUNTER
 Structure with Limits Counter data. More...
struct  LOG_INTERVAL
 Structure with Log Interval information. More...
struct  LOG_MODE
 Structure with Log Mode data. More...
struct  SFE_PARAMETERS
 Structure with Sensor Frontend data. More...
struct  SHELF_LIFE_0
 Structure with Shelf Live Block 0. More...
struct  SHELF_LIFE_1
 Structure with Shelf Live Block 1. More...
struct  START_TIME
 Structure with time information. More...
struct  SYSTEM_STATUS
 Structure with System Status information. More...

Public Member Functions

int AccessFIFO (string sAccessPassword, unsigned char ucSubCommand, unsigned char ucNoOfBytes, unsigned char *pucBuffer)
 [0xB4][0xAF] Access FIFO : can read and write data from the FIFO and can also read the FIFO status register.
int EndLog (string sAccessPassword)
 [0xB4][0xA6] : stops logging process, stops timer and sets tag in standby mode
int GetBatteryLevel (string sAccessPassword, unsigned char ucBatteryRetrigger, bool &bError, unsigned char &ucBatteryType, unsigned int &uiBatteryLevel)
 [0xB4][0xAA] : returns the actual battery level
int GetCalibrationData (string sAccessPassword, CALIBRATION *pCalData, SFE_PARAMETERS *pSfeData)
 [0xB4][0xA9] : reads internal and external calibration data from System Area Blocks 0x010..0x016, 0x030..0x037
int GetLogState (string sAccessPassword, LIMITS_COUNTER *pLimitsCounter, SYSTEM_STATUS *pSystemStatus, SHELF_LIFE_0 *pSF0, SHELF_LIFE_1 *pSF1, unsigned int &uiCurrentShelfLife, unsigned char &ucStatusFlags)
 [0xB4][0xA8] : returns the logging state
int GetMeasurementSetup (string sAccessPassword, START_TIME *pStartTime, LIMITS *pLogLimits, LOG_MODE *pLogMode, LOG_INTERVAL *pLogInterval, DELAY_TIME *pDelayTime, APP_DATA *pUserData)
 [0xB4][0xA3] : reads parameters from System Area Blocks 0x00C..0x00F, 0x019..0x01D, 0x026..0x02C
int GetSensorValue (string sAccessPassword, unsigned char ucSensorType, bool &bError, unsigned char &ucRangeOrLimit, unsigned int &uiSensorValue)
 [0xB4][0xAD] : starts the AD conversion on the specified sensor and returns the measured value
unsigned char GetTagError ()
 returns the last tag error
virtual void Init ()
 Initialization method.
int Initialize (string sAccessPassword, DELAY_TIME *pDelayTime, APP_DATA *pUserData)
 [0xB4][0xAC] : writes parameters to System Area Blocks 0x029..0x02C
int OpenArea (string sAccessPassword, unsigned char ucPasswordLevel, string sPassword)
 [0xB4][0xAE]
int SetCalibrationData (string sAccessPassword, CALIBRATION *pCalData)
 [0xB4][0xA5] : writes internal calibration data to System Area Blocks 0x010..0x016
int SetLogLimits (string sAccessPassword, LIMITS *pLogLimits)
 [0xB4][0xA2] : writes parameters to System Area Blocks 0x019..0x01D
int SetLogMode (string sAccessPassword, LOG_MODE *pLogMode, LOG_INTERVAL *pLogInterval)
 [0xB4][0xA1] : writes parameters to System Area Blocks 0x0026..0x028
int SetPassword (string sAccessPassword, unsigned char ucPasswordLevel, string sPassword)
 [0xB4][0xA0] : Set the password in the Transponder
int SetSFEData (string sAccessPassword, SFE_PARAMETERS *pSfeData)
 [0xB4][0xA4] : writes Sensor Front End parameters to System Area Blocks 0x017..0x018
int SetShelfLife (string sAccessPassword, SHELF_LIFE_0 *pSF0, SHELF_LIFE_1 *pSF1)
 [0xB4][0xAB] : programs parameters for the dynamic shelf-life algorithm
int StartLog (string sAccessPassword, START_TIME *pStartTime)
 [0xB4][0xA7] : start logging process and sets the start time in UTC format

Static Public Attributes

static const unsigned char LOG_MODE_ALL_VALUES_OUT_OF_LIMITS
static const unsigned char LOG_MODE_DENSE
static const unsigned char LOG_MODE_IRQ_EXT1
static const unsigned char LOG_MODE_IRQ_EXT1_EXT2
static const unsigned char LOG_MODE_IRQ_EXT2
static const unsigned char LOG_MODE_LIMITS_CROSSING
static const unsigned char PW_LEVEL_MEASUREMENT
static const unsigned char PW_LEVEL_SYSTEM
static const unsigned char PW_LEVEL_USER
static const unsigned char SUB_CMD_READ_FIFO
static const unsigned char SUB_CMD_READ_STATUS
static const unsigned char SUB_CMD_WRITE_FIFO

Protected Member Functions

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

Protected Attributes

unsigned char m_ucTagError

Friends

class FEDM_ISCReader
class FEDM_ISCReaderModule
class FEDM_ISOTabItem

Detailed Description

Transponder class providing manufacturer specific commands for EPC Class 1 Generation 2 compliant Transponders of type SL900A from manufacturer IDS Microchip AG.

Description
High-level class for easy-to-use Transponder specific communication. See OBID::FEDM::Core::ITagGroup for additional information, how to work with this class.
All methods are similiar to the specific commands of the IDS SL900A. Thus, you must refer to the Technical Datasheet of the SL900A 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 [0xB4], which are described in the Application Note IDS Custom and Proprietary Commands_UHF.pdf

Definition at line 64 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.


Constructor & Destructor Documentation

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

Member Function Documentation

int FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::AccessFIFO ( string  sAccessPassword,
unsigned char  ucSubCommand,
unsigned char  ucNoOfBytes,
unsigned char *  pucBuffer 
)

[0xB4][0xAF] Access FIFO : can read and write data from the FIFO and can also read the FIFO status register.

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 IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 1534 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

[0xB4][0xA6] : stops logging process, stops timer and sets tag in standby mode

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 IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 678 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

int FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::GetBatteryLevel ( string  sAccessPassword,
unsigned char  ucBatteryRetrigger,
bool &  bError,
unsigned char &  ucBatteryType,
unsigned int &  uiBatteryLevel 
)

[0xB4][0xAA] : returns the actual battery level

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 IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 1114 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

int FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::GetCalibrationData ( string  sAccessPassword,
CALIBRATION pCalData,
SFE_PARAMETERS pSfeData 
)

[0xB4][0xA9] : reads internal and external calibration data from System Area Blocks 0x010..0x016, 0x030..0x037

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 IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 945 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

int FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::GetLogState ( string  sAccessPassword,
LIMITS_COUNTER pLimitsCounter,
SYSTEM_STATUS pSystemStatus,
SHELF_LIFE_0 pSF0,
SHELF_LIFE_1 pSF1,
unsigned int &  uiCurrentShelfLife,
unsigned char &  ucStatusFlags 
)

[0xB4][0xA8] : returns the logging state

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 IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 825 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

int FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::GetMeasurementSetup ( string  sAccessPassword,
START_TIME pStartTime,
LIMITS pLogLimits,
LOG_MODE pLogMode,
LOG_INTERVAL pLogInterval,
DELAY_TIME pDelayTime,
APP_DATA pUserData 
)

[0xB4][0xA3] : reads parameters from System Area Blocks 0x00C..0x00F, 0x019..0x01D, 0x026..0x02C

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 IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 366 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

int FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::GetSensorValue ( string  sAccessPassword,
unsigned char  ucSensorType,
bool &  bError,
unsigned char &  ucRangeOrLimit,
unsigned int &  uiSensorValue 
)

[0xB4][0xAD] : starts the AD conversion on the specified sensor and returns the measured value

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 IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 1377 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

returns the last tag error

Description
Refer to the Application Note IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 105 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

Initialization method.

Description
Clears all data members

Reimplemented from FedmIscTagHandler.

Definition at line 98 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

int FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::Initialize ( string  sAccessPassword,
DELAY_TIME pDelayTime,
APP_DATA pUserData 
)

[0xB4][0xAC] : writes parameters to System Area Blocks 0x029..0x02C

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 IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 1289 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

int FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::OpenArea ( string  sAccessPassword,
unsigned char  ucPasswordLevel,
string  sPassword 
)

[0xB4][0xAE]

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 IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 1462 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

int FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::SetCalibrationData ( string  sAccessPassword,
CALIBRATION pCalData 
)

[0xB4][0xA5] : writes internal calibration data to System Area Blocks 0x010..0x016

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 IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 593 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

int FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::SetLogLimits ( string  sAccessPassword,
LIMITS pLogLimits 
)

[0xB4][0xA2] : writes parameters to System Area Blocks 0x019..0x01D

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 IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 280 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

int FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::SetLogMode ( string  sAccessPassword,
LOG_MODE pLogMode,
LOG_INTERVAL pLogInterval 
)

[0xB4][0xA1] : writes parameters to System Area Blocks 0x0026..0x028

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 IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 196 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

int FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::SetPassword ( string  sAccessPassword,
unsigned char  ucPasswordLevel,
string  sPassword 
)

[0xB4][0xA0] : Set the password in the Transponder

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 IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 125 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

int FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::SetSFEData ( string  sAccessPassword,
SFE_PARAMETERS pSfeData 
)

[0xB4][0xA4] : writes Sensor Front End parameters to System Area Blocks 0x017..0x018

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 IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 515 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

int FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::SetShelfLife ( string  sAccessPassword,
SHELF_LIFE_0 pSF0,
SHELF_LIFE_1 pSF1 
)

[0xB4][0xAB] : programs parameters for the dynamic shelf-life algorithm

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 IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 1200 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.

int FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::StartLog ( string  sAccessPassword,
START_TIME pStartTime 
)

[0xB4][0xA7] : start logging process and sets the start time in UTC format

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 IDS Custom and Proprietary Commands_UHF.pdf, where all parameters are described in detail.

Definition at line 743 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.


Friends And Related Function Documentation

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

Member Data Documentation


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