UHF Communication Protocol20140623
UHF Communication Protocol20140623
call
Writer:Ren Luyang
Version:2014.0.0.1
The logic of reader connect call
1、create connecting handle struct
struct hComSocket
HANDLE hCom;
SOCKET sockClient;
};
hComSocket CS;
HANDLE HCom;
SOCKET HSockClient;
a. Cerate connect
HSockClient = HSockClient;
Serial_OpenSeries(&HCom, ”COM3”, 115200);
HSockClient = 0;
b.close connect
Socket_CloseSocket(CS. sockClient);
or
Serial_CloseSeries(CS. hCom);
a. Config_GetLocatorVersion
a. Config_SetReaderBaud
a. Config_SetRfPower
b. Config_GetRfPower
a. Config_SetFreqPoint
b. Config_GetFreqPoint
a. Config_SetAntenna
b. Config_GetAntenna
a. Config_SetSingleFastTagMode
b. Config_GetSingleFastTagMode
a. Config_SetOutPort
b. Config_GetInPort
a. Config_SetIntrnetAccess
b. Config_GetIntrnetAccess
a. Config_SetReaderTime
b. Config_GetReaderTime
a. Config_SetTestMode
11.Reaset reader
a. Config_ResetReader
The logic of reader/tag operat call(see details in sample
code)
1、 The logic of tagdiscern call
a.Activty_TagDiscern
b. Activty_GetTagData
a.Activty_TagRead
a. Activty_TagWrite
a. Activty_TagControl
a. Activty_CloseRF
6、 The logic of reader sensitivity query/ set call
a. Activty_SetSensitivity
b. Activty_GetSensitivity
a. Activty_GetReaderStatus
a. Parameter_SetReader
a. Parameter_GetReader
//////////////////////////////////////////////////////////////////////////
//A0 4 reader IP
//AC 2 port
//////////////////////////////////////////////////////////////////////////