DR-U-USB/DR-E-USB RLMXX0CLASS  GT20171121-1
Functions
"RLMXXX Inventory buffered"

Inventory function using the RLMXXX internal buffering and SELECT records. More...

Functions

quint8 RLMXXXCRC::InventoryByIndex (const quint8 sindex, const quint8 snum, const quint8 sst, const quint8 q, quint8 &ec)
 Start Inventory using SELECT definition. More...
 
quint8 RLMXXXCRC::InventoryGetStatus (quint16 &tnum, quint8 &ec)
 Get numbers of buffered EPC of a current running Inventory. More...
 
quint8 RLMXXXCRC::InventorySelectIndex (const quint16 tindex, const quint16 tlen, quint8 &ec)
 Prepare the module to retrieve the buffered Tag identifiers. More...
 
quint8 RLMXXXCRC::InventoryGetRecord (trecord &TRecord, quint8 &ec)
 Retrieve Tag identifiers from the module. More...
 

Detailed Description

Inventory function using the RLMXXX internal buffering and SELECT records.

Buffered Inventory is a fast less CPU usage method implement within the RLMXXX.

Function Documentation

◆ InventoryByIndex()

quint8 RLMXXXCRC::InventoryByIndex ( const quint8  sindex,
const quint8  snum,
const quint8  sst,
const quint8  q,
quint8 &  ec 
)

Start Inventory using SELECT definition.

Its called by application.
If the call failed an error code will be provided from module.

See also
struct srecord {}
Parameters
[in]sindexindex of a srecord
[in]snumnumber of selection
[in]sstSel-Session-Target [0-31] default 1
[in]qInterrogator uses to regulate the probability of Tag response
[out]ecError Code returned from the module if command failed
Returns
1 on success, 0 if failed

◆ InventoryGetRecord()

quint8 RLMXXXCRC::InventoryGetRecord ( trecord TRecord,
quint8 &  ec 
)

Retrieve Tag identifiers from the module.


Its called by application in a loop either for the requested count of buffers or if tlen in the prepare call set to 0, until the call return with ec=0xff.

See also
struct trecord {}
Parameters
[out]TRecordrecord retrieved from the module
[out]ecError Code returned from the module if command failed
Returns
1 on success, 0 if failed

◆ InventoryGetStatus()

quint8 RLMXXXCRC::InventoryGetStatus ( quint16 &  tnum,
quint8 &  ec 
)

Get numbers of buffered EPC of a current running Inventory.

Its called by application.
If the call failed an error code will be provided from module.

Parameters
[out]tnumnumber of buffered EPC's
[out]ecError Code returned from the module if command failed
Returns
1 on success, 0 if failed

◆ InventorySelectIndex()

quint8 RLMXXXCRC::InventorySelectIndex ( const quint16  tindex,
const quint16  tlen,
quint8 &  ec 
)

Prepare the module to retrieve the buffered Tag identifiers.

Its called by application.
If the call failed an error code will be provided from module.

Parameters
[in]tindexstart index of buffer table hold the EPC's
[in]tlennumber of entries to retrieve if '0' module will return all.
[out]ecError Code returned from the module if command failed
Returns
1 on success, 0 if failed