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>
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 |
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.
FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A | ( | FEDM_ISCReader * | pReader, |
FEDM_ISOTabItem * | pTabItem | ||
) | [protected] |
Definition at line 74 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.
FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A | ( | FEDM_ISCReader * | pReader, |
unsigned int | uiTagHandlerType, | ||
FEDM_ISOTabItem * | pTabItem | ||
) | [protected] |
Definition at line 83 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.
FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::~FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A | ( | ) | [protected, virtual] |
Definition at line 93 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.cpp.
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.
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.
int FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::EndLog | ( | string | sAccessPassword | ) |
[0xB4][0xA6] : stops logging process, stops timer and sets tag in standby mode
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
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
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
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
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
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.
unsigned char FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::GetTagError | ( | ) |
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.
void FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::Init | ( | ) | [virtual] |
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
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]
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
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
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
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
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
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
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
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.
friend class FEDM_ISCReader [friend] |
Reimplemented from FedmIscTagHandler_EPC_Class1_Gen2.
Definition at line 70 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.
friend class FEDM_ISCReaderModule [friend] |
Reimplemented from FedmIscTagHandler_EPC_Class1_Gen2.
Definition at line 69 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.
friend class FEDM_ISOTabItem [friend] |
Reimplemented from FedmIscTagHandler_EPC_Class1_Gen2.
Definition at line 71 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.
const unsigned char FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::LOG_MODE_ALL_VALUES_OUT_OF_LIMITS [static] |
Definition at line 684 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.
const unsigned char FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::LOG_MODE_DENSE [static] |
Definition at line 683 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.
const unsigned char FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::LOG_MODE_IRQ_EXT1 [static] |
Definition at line 686 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.
const unsigned char FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::LOG_MODE_IRQ_EXT1_EXT2 [static] |
Definition at line 688 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.
const unsigned char FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::LOG_MODE_IRQ_EXT2 [static] |
Definition at line 687 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.
const unsigned char FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::LOG_MODE_LIMITS_CROSSING [static] |
Definition at line 685 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.
unsigned char FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::m_ucTagError [protected] |
Definition at line 703 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.
const unsigned char FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::PW_LEVEL_MEASUREMENT [static] |
Definition at line 681 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.
const unsigned char FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::PW_LEVEL_SYSTEM [static] |
Definition at line 679 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.
const unsigned char FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::PW_LEVEL_USER [static] |
Definition at line 680 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.
const unsigned char FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::SUB_CMD_READ_FIFO [static] |
Definition at line 690 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.
const unsigned char FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::SUB_CMD_READ_STATUS [static] |
Definition at line 692 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.
const unsigned char FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A::SUB_CMD_WRITE_FIFO [static] |
Definition at line 691 of file FedmIscTagHandler_EPC_Class1_Gen2_IDS_SL900A.h.