-
12.4.4 Retrieving Antenna-Port Configuration
Description:
Retrieve a single logical antenna port's configuration
parameters – for example, dwell
time, power level, and number of inventory cycles. Even the logical antenna port is disabled.
Function Call:
RFID_STATUS RFIDGetAntennaPortConfiguration(INT32U antennaPort,
RFID_ANTENNA_PORT_CONFIG *pConfig);
Parameters:
antennaPort – The logical antenna port to configure.
pConfig – A pointer to a structure that contains the antenna-port configuration parameter.
Returns:
RFID_STATUS.
12.5 ISO 18000-6C Tag Access
The interface support the following Tag access operations:
.Inventory
.Read
.Write
.Kill
.Lock
Tag accesses are comprised of three operations:
Specifying Tag-selection Criteria(pre-singualtion):
An application may require that the tag population
be logically partitioned into disjoint groups before issuing an access command. After the tags are
partitioned, the specified operation may then be applied to one of the groups. An application may specify
tag-selection criteria to perform the tag partitioning before tags are singulated.
Apply post-singulation match mask:
After the RFID Reader module has singulated a tag, it can
optionally apply an application-supplied post-singulation match mask to the singulated tag's EPC to
further filter the singulated tag.
Apply ISO 18000-6C access command:
Only tags that match the optionally-supplied selection criteria
and post-singulation match mask have the access command applied to them.
Note: when perform tag read, write, kill, lock operation, the RFID Reader module uses only the first
enabled logical antenna.
Tag Operation Functions
When the application issues a tag operation (i.e. Iventory, read, etc.) to the interface, it also
provides a pointer to an application-define callback function. The interface in turn issues the
request to the RFID Reader and then returns the operation result via the application-defined
callback. Tag operation functions can execute either in Block or Non-block mode. In
Block mode
,
the function will waiting for the tag operation to finish and, LPACCESS_STATUS field will contain
the operation result. If the timeout lapse this access operation will fail; In
Non-block mod
e, this
function will return immediately and the operation result will return by the application-defined
callback function.
12.5.1 Callback function
LRESULT (CALLBACK* RFIDPROC)(HWND, UINT, WPARAM, LPARAM);
Description:
Application-define callback function.
Parameters:
HWND – The window issue the tag operation.
UNIT – Undefine reserve for future use
WPARAM – Undefine reserve for future use
LPARAM – a pointer to the structure of ACCESS_STATUS which contain the
operation result.
Returns:
None