User's Manual

Table Of Contents
WISE-2834 User Manual 50
5.4 API for Development
5.4.1 RFID APIs
Function Description
unsigned char OpenDevice(char *dev,unsigned long
Baud_Rate,unsigned char DataBits,unsigned char Par-
ity,unsigned char StopBits);
Open serial port and set the related
parameter to the specified serial port
unsigned char CloseDevice(); Close serial port
unsigned long
API_ConfigSetOperationMode(unsigned char
r_Mode);
Set RFID antenna operation mode
unsigned long
API_ConfigGetOperationMode(unsigned char
*r_Mode);
Get RFID antenna operation mode
unsigned long API_AntennaPortSetState(unsigned
char Port, unsigned char State);
Set RFID antenna port enable/dis-
able status
unsigned long API_AntennaPortGetState(unsigned
char Port, unsigned char *State, unsigned long *anten-
naSenseValue);
Get RFID antenna port enable/dis-
able status
unsigned long
API_AntennaPortSetConfiguration(unsigned char Port,
AntennaPortConfig *pAntConfig);
Set RFID antenna power level, dwell
time, inventory cycles, and physical
port.
unsigned long
API_AntennaPortGetConfiguration(unsigned char
Port, AntennaPortConfig *pAntConfig);
Get RFID antenna power level,
dwell time, inventory cycles, and
physical port.
unsigned long API_l8K6CSetPostMatchCriteria(Singu-
lationCriteria *pCriteria);
Setting the tag filter rule
unsigned long API_l8K6CGetPostMatchCriteria(Singu-
lationCriteria *pCriteria);
Getting the tag filter rule
unsigned long API_l8K6CSetPostMatchMaskData(Cri-
teriaMaskData *MaskData);
Setting the tag filter mask
unsigned long API_l8K6CGetPostMatchMaskData(Cri-
teriaMaskData *MaskData);
Getting the tag filter mask
unsigned long API_l8K6CSetQueryTagGroup(Tag-
Group *pTagGroup);
Setting the tags of interest
unsigned long API_l8K6CGetQueryTagGroup(Tag-
Group *r_strcGroup);
Getting the tags of interest
unsigned long
API_l8K6CSetTagAccessPassword(unsigned long
AccessPassword);
Setting the tag access password
unsigned long
API_l8K6CTagGetAccessPassword(unsigned long
*AccessPassword);
Getting the tag access password
unsigned long
API_l8K6CTagWriteDataBuffer(unsigned char bIndex,
unsigned short wData, unsigned char bOffsetType,
unsigned short wDataOffset);
Setting tag writing data buffer
unsigned long
API_l8K6CTagReadDataBuffer(unsigned char bIndex,
unsigned short *wData, unsigned short *wDataOffset);
Getting tag writing data buffer
unsigned long API_l8K6CTagInventory(TagAccessFlag
*pTagAccessFlag, ACCESS_CALLBACK callback);
Tag inventory operation