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

Class represents one record of requested Buffered-Read-Mode data with command [0x22] Read Buffer. More...

#include <FEDM_BRMTabItem.h>

Inheritance diagram for FEDM_BRMTabItem:
Inheritance graph
[legend]

List of all members.

Public Member Functions

unsigned int GetEpcC1G2MaskDesignerID ()
 Method to query the Manufacturer-ID of EPC Class 1 Gen 2 or ISO 18000-3M3 standard.
const char * GetEpcC1G2MaskDesignerName ()
 Method to query the manufacturer name for an Transponder of EPC Class 1 Gen 2 or ISO 18000-3M3 standard.
unsigned int GetEpcC1G2TagModelNumber ()
 Method to query the Chip-ID for an Transponder of EPC Class 1 Gen 2 or ISO 18000-3M3 standard.
const char * GetISO15693Manufacturer ()
 Method to query the manufacturer name for an Transponder of ISO 15693 standard.
void GetTableSizes (int &iRxDB_BlockCount, int &iRxDB_BlockSize)
 Method to query the actual sizes of Transponder data buffers.
bool IsExtendedPC_W1 ()
 Method to query if the Protocol-Control (PC) is extended (only applicable with EPC Class 1 Gen 2 and ISO 18000-3M3)

Public Attributes

bool m_bIsAFI
 Flag indicates, if item contains valid data for DSFID and AFI.
bool m_bIsAntNr
 Flag indicates, if item contains valid data for flag field with Antennas.
bool m_bIsDate
 Flag indicates, if item contains valid data for Date and Time.
bool m_bIsDB
 Flag indicates, if item contains valid data for Transponder data.
bool m_bIsDirection
 Flag indicates, if item contains valid data for direction information from People-Counter.
bool m_bIsEpc
bool m_bIsInput
 Flag indicates, if item contains valid data for Input and Status information.
bool m_bIsMacAddr
 Flag indicates, if item contains valid data for MAC-Address.
bool m_bIsRSSI
 Flag indicates, if item contains valid data for RSSI values for each antenna.
bool m_bIsSnr
 Flag indicates, if item contains valid data for UID, TrType and IDDT.
bool m_bIsTimer
 Flag indicates, if item contains valid data for Timer value.
unsigned char m_ucAFI
 Application Family Identifier.
unsigned char m_ucAntCount
 Number of antenna reads.
unsigned char m_ucAntNr
 Antenna number.
unsigned char m_ucAntNumber [FEDM_ISC_BRM_TABLE_MAX_ANTENNA]
 Array with antenna numbers.
unsigned char m_ucAntRes1 [FEDM_ISC_BRM_TABLE_MAX_ANTENNA]
 Array with antenna reserved bytes.
unsigned char m_ucAntRSSI [FEDM_ISC_BRM_TABLE_MAX_ANTENNA]
 Array with antenna Received Signal Strength Indication (RSSI)
unsigned char m_ucBlockSize
 Block size for data blocks in m_ucRxDB.
unsigned char m_ucClass1Gen2_PC [2]
 Protocol-Control (PC) of EPC Class 1 Gen 2 or ISO 18000-3M- compliant Transponder.
unsigned char m_ucClass1Gen2_XPC_W1 [2]
 Extended Protocol-Control (XPC W1) of EPC Class 1 Gen 2 or ISO 18000-3M- compliant Transponder.
unsigned char m_ucDate [5]
 Date and timezone.
unsigned char m_ucDBAdr
 Data block address.
unsigned char m_ucDirection
 Direction information (in combination with Gate People Counter)
unsigned char m_ucDsfID
 Data Storage Family Identifier. Only applicable with ISO 15693 standard.
unsigned char m_ucEpcType
unsigned char m_ucFlags
unsigned char m_ucIDDT
 Identifier Data Type (IDDT). Only applicable with EPC Class 1 Gen 2 and ISO 18000-3M3.
unsigned char m_ucInput
 Input states.
unsigned char m_ucMacAddress [6]
 MAC-Address (only for Notification-Mode)
FEDM_BYTE_ARRAY m_ucRxDB
 Received data blocks.
unsigned char m_ucSnr [FEDM_ISC_MAX_UID_LENGTH]
 Buffer for UID or Serial Number.
unsigned char m_ucSnrLen
 Length of UID or Serial Number in bytes.
unsigned char m_ucState
 Status flags, comming with input states.
unsigned char m_ucTimer [4]
 Timer.
unsigned char m_ucTrType
 Transponder type.
unsigned int m_uiDBN
 Number of datablocks.

Protected Member Functions

void ClearAntennaValues ()
 FEDM_BRMTabItem ()
 FEDM_BRMTabItem (unsigned int uiTabIndex)
int GetEpc (char *cEpc, int iBufLen)
__int64 GetEpcDomainManager ()
int GetEpcHeader ()
__int64 GetEpcObjectClass ()
int GetEpcRaw (unsigned char *cEpc, int iBufLen)
__int64 GetEpcSnr ()
__int64 GetSnr ()
void Init ()
void Init (int iRxDB_BlockCount, int iRxDB_BlockSize)
int SetData (unsigned char ucCmd, unsigned char *ucData, unsigned char *ucTrData, unsigned int &uiByteCnt)
int SetSnr_0x21 (unsigned char *ucData, unsigned int &iByteCnt)
int SetSnr_0x22 (unsigned char *ucTrData, unsigned char *ucData, unsigned int &iByteCnt)
 ~FEDM_BRMTabItem ()

Protected Attributes

int m_iRxDB_BlockCount
int m_iRxDB_BlockSize
unsigned char m_ucRxDB_TidBank [4]
unsigned int m_uiTabIndex

Friends

class FEDM_ISCReader

Detailed Description

Class represents one record of requested Buffered-Read-Mode data with command [0x22] Read Buffer.

Description
This class contains all record members, which are potentially part of the Reader's response of the command [0x22] Read Buffer.
An item can be requested after the command was executed successfully with the method OBID::FEDM::Core::IBrmTableGroup::GetItemByIndex().

[Example](OBID::FEDM::Core::IBrmTableGroup::GetItemByIndex)

Definition at line 79 of file FEDM_BRMTabItem.h.


Constructor & Destructor Documentation

Definition at line 61 of file FEDM_BRMTabItem.cpp.

FEDM_BRMTabItem::FEDM_BRMTabItem ( unsigned int  uiTabIndex) [protected]

Definition at line 72 of file FEDM_BRMTabItem.cpp.

Definition at line 80 of file FEDM_BRMTabItem.cpp.


Member Function Documentation

Definition at line 194 of file FEDM_BRMTabItem.cpp.

int FEDM_BRMTabItem::GetEpc ( char *  cEpc,
int  iBufLen 
) [protected]

Definition at line 224 of file FEDM_BRMTabItem.cpp.

Method to query the Manufacturer-ID of EPC Class 1 Gen 2 or ISO 18000-3M3 standard.

Returns:
Manufacturer-ID

Description

Definition at line 441 of file FEDM_BRMTabItem.cpp.

Method to query the manufacturer name for an Transponder of EPC Class 1 Gen 2 or ISO 18000-3M3 standard.

Returns:
String with manufacturer name

Description

Definition at line 459 of file FEDM_BRMTabItem.cpp.

Method to query the Chip-ID for an Transponder of EPC Class 1 Gen 2 or ISO 18000-3M3 standard.

Returns:
Chip-ID

Description

Definition at line 422 of file FEDM_BRMTabItem.cpp.

__int64 FEDM_BRMTabItem::GetEpcDomainManager ( ) [protected]

Definition at line 316 of file FEDM_BRMTabItem.cpp.

int FEDM_BRMTabItem::GetEpcHeader ( ) [protected]

Definition at line 296 of file FEDM_BRMTabItem.cpp.

__int64 FEDM_BRMTabItem::GetEpcObjectClass ( ) [protected]

Definition at line 336 of file FEDM_BRMTabItem.cpp.

int FEDM_BRMTabItem::GetEpcRaw ( unsigned char *  cEpc,
int  iBufLen 
) [protected]

Definition at line 266 of file FEDM_BRMTabItem.cpp.

__int64 FEDM_BRMTabItem::GetEpcSnr ( ) [protected]

Definition at line 356 of file FEDM_BRMTabItem.cpp.

Method to query the manufacturer name for an Transponder of ISO 15693 standard.

Returns:
String with manufacturer name

Description

Definition at line 385 of file FEDM_BRMTabItem.cpp.

__int64 FEDM_BRMTabItem::GetSnr ( ) [protected]

Definition at line 213 of file FEDM_BRMTabItem.cpp.

void FEDM_BRMTabItem::GetTableSizes ( int &  iRxDB_BlockCount,
int &  iRxDB_BlockSize 
)

Method to query the actual sizes of Transponder data buffers.

Parameters:
[out]iRxDB_BlockCountMaximal number of data blocks
[out]iRxDB_BlockSizeNumber of bytes in each data block

Description

Definition at line 188 of file FEDM_BRMTabItem.cpp.

void FEDM_BRMTabItem::Init ( ) [protected]

Definition at line 85 of file FEDM_BRMTabItem.cpp.

void FEDM_BRMTabItem::Init ( int  iRxDB_BlockCount,
int  iRxDB_BlockSize 
) [protected]

Definition at line 137 of file FEDM_BRMTabItem.cpp.

Method to query if the Protocol-Control (PC) is extended (only applicable with EPC Class 1 Gen 2 and ISO 18000-3M3)

Returns:
true, if PC is extended, otherwise false

Description
Method to query if the Protocol-Control (PC) of an EPC Class 1 Gen 2 Transponder or ISO 18000-3M3 is extended with 1 additional block of 2 bytes.

Definition at line 203 of file FEDM_BRMTabItem.cpp.

int FEDM_BRMTabItem::SetData ( unsigned char  ucCmd,
unsigned char *  ucData,
unsigned char *  ucTrData,
unsigned int &  uiByteCnt 
) [protected]

Definition at line 498 of file FEDM_BRMTabItem.cpp.

int FEDM_BRMTabItem::SetSnr_0x21 ( unsigned char *  ucData,
unsigned int &  iByteCnt 
) [protected]

Definition at line 647 of file FEDM_BRMTabItem.cpp.

int FEDM_BRMTabItem::SetSnr_0x22 ( unsigned char *  ucTrData,
unsigned char *  ucData,
unsigned int &  iByteCnt 
) [protected]

Definition at line 721 of file FEDM_BRMTabItem.cpp.


Friends And Related Function Documentation

friend class FEDM_ISCReader [friend]

Definition at line 84 of file FEDM_BRMTabItem.h.


Member Data Documentation

Flag indicates, if item contains valid data for DSFID and AFI.

Definition at line 190 of file FEDM_BRMTabItem.h.

Flag indicates, if item contains valid data for flag field with Antennas.

Definition at line 194 of file FEDM_BRMTabItem.h.

Flag indicates, if item contains valid data for Date and Time.

Definition at line 193 of file FEDM_BRMTabItem.h.

Flag indicates, if item contains valid data for Transponder data.

Definition at line 191 of file FEDM_BRMTabItem.h.

Flag indicates, if item contains valid data for direction information from People-Counter.

Definition at line 198 of file FEDM_BRMTabItem.h.

Definition at line 189 of file FEDM_BRMTabItem.h.

Flag indicates, if item contains valid data for Input and Status information.

Definition at line 195 of file FEDM_BRMTabItem.h.

Flag indicates, if item contains valid data for MAC-Address.

Definition at line 197 of file FEDM_BRMTabItem.h.

Flag indicates, if item contains valid data for RSSI values for each antenna.

Definition at line 196 of file FEDM_BRMTabItem.h.

Flag indicates, if item contains valid data for UID, TrType and IDDT.

Definition at line 188 of file FEDM_BRMTabItem.h.

Flag indicates, if item contains valid data for Timer value.

Definition at line 192 of file FEDM_BRMTabItem.h.

Definition at line 205 of file FEDM_BRMTabItem.h.

Definition at line 206 of file FEDM_BRMTabItem.h.

unsigned char FEDM_BRMTabItem::m_ucAFI

Application Family Identifier.

Definition at line 164 of file FEDM_BRMTabItem.h.

Number of antenna reads.

Definition at line 183 of file FEDM_BRMTabItem.h.

Antenna number.

Definition at line 175 of file FEDM_BRMTabItem.h.

Array with antenna numbers.

Definition at line 184 of file FEDM_BRMTabItem.h.

Array with antenna reserved bytes.

Definition at line 186 of file FEDM_BRMTabItem.h.

Array with antenna Received Signal Strength Indication (RSSI)

Definition at line 185 of file FEDM_BRMTabItem.h.

Block size for data blocks in m_ucRxDB.

Definition at line 181 of file FEDM_BRMTabItem.h.

Protocol-Control (PC) of EPC Class 1 Gen 2 or ISO 18000-3M- compliant Transponder.

Definition at line 168 of file FEDM_BRMTabItem.h.

Extended Protocol-Control (XPC W1) of EPC Class 1 Gen 2 or ISO 18000-3M- compliant Transponder.

Definition at line 169 of file FEDM_BRMTabItem.h.

unsigned char FEDM_BRMTabItem::m_ucDate[5]

Date and timezone.

Definition at line 174 of file FEDM_BRMTabItem.h.

Data block address.

Definition at line 171 of file FEDM_BRMTabItem.h.

Direction information (in combination with Gate People Counter)

Definition at line 178 of file FEDM_BRMTabItem.h.

Data Storage Family Identifier. Only applicable with ISO 15693 standard.

Definition at line 165 of file FEDM_BRMTabItem.h.

Definition at line 162 of file FEDM_BRMTabItem.h.

Definition at line 159 of file FEDM_BRMTabItem.h.

Identifier Data Type (IDDT). Only applicable with EPC Class 1 Gen 2 and ISO 18000-3M3.

Definition at line 163 of file FEDM_BRMTabItem.h.

Input states.

Definition at line 176 of file FEDM_BRMTabItem.h.

MAC-Address (only for Notification-Mode)

Definition at line 179 of file FEDM_BRMTabItem.h.

Received data blocks.

Definition at line 170 of file FEDM_BRMTabItem.h.

unsigned char FEDM_BRMTabItem::m_ucRxDB_TidBank[4] [protected]

Definition at line 203 of file FEDM_BRMTabItem.h.

Buffer for UID or Serial Number.

Definition at line 167 of file FEDM_BRMTabItem.h.

Length of UID or Serial Number in bytes.

Definition at line 166 of file FEDM_BRMTabItem.h.

Status flags, comming with input states.

Definition at line 177 of file FEDM_BRMTabItem.h.

unsigned char FEDM_BRMTabItem::m_ucTimer[4]

Timer.

Definition at line 173 of file FEDM_BRMTabItem.h.

Transponder type.

Definition at line 161 of file FEDM_BRMTabItem.h.

Number of datablocks.

Definition at line 172 of file FEDM_BRMTabItem.h.

unsigned int FEDM_BRMTabItem::m_uiTabIndex [protected]

Definition at line 208 of file FEDM_BRMTabItem.h.


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


rfid_drivers
Author(s): Raul Perula-Martinez
autogenerated on Thu Apr 2 2015 03:06:15