0% found this document useful (0 votes)
5 views

UHF Communication Protocol20140623

The document outlines the UHF Communication Protocol logic for connecting and configuring a reader, including establishing communication via TCP/IP or serial connections. It details various configuration commands for hardware version, baud rate, antenna power, frequency parameters, and operational commands for tag discernment, reading, writing, and controlling. Additionally, it includes auxiliary operations for setting and querying reader flash parameters.

Uploaded by

asbelabdair97
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

UHF Communication Protocol20140623

The document outlines the UHF Communication Protocol logic for connecting and configuring a reader, including establishing communication via TCP/IP or serial connections. It details various configuration commands for hardware version, baud rate, antenna power, frequency parameters, and operational commands for tag discernment, reading, writing, and controlling. Additionally, it includes auxiliary operations for setting and querying reader flash parameters.

Uploaded by

asbelabdair97
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

UHF Communication Protocol the logic of DLL

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;

2、sample of COMM or TCP/IP connecting

a. Cerate connect

Socket_ConnectSocket(&HSockClient, “192.168.1.120”, 100);

CS. sockClient = NULL;

HSockClient = HSockClient;
Serial_OpenSeries(&HCom, ”COM3”, 115200);

CS. hCom = HCom;

HSockClient = 0;

b.close connect

Socket_CloseSocket(CS. sockClient);

or

Serial_CloseSeries(CS. hCom);

 The logic of reader config call(see details in sample code)


1.Get hardware version

a. Config_GetLocatorVersion

2.Set baud rate

a. Config_SetReaderBaud

3.Set/query antenna power

a. Config_SetRfPower

b. Config_GetRfPower

4.Set/query frequency point parameter

a. Config_SetFreqPoint

b. Config_GetFreqPoint

5.Set/query antenna working statue(this function for UHF device only)

a. Config_SetAntenna
b. Config_GetAntenna

6.Set/ query reader carrier offset tactics

a. Config_SetSingleFastTagMode

b. Config_GetSingleFastTagMode

7.Set/query reader IO status

a. Config_SetOutPort

b. Config_GetInPort

8.Set/query reader TCP/IP parameter

a. Config_SetIntrnetAccess

b. Config_GetIntrnetAccess

9.Set/query reader time

a. Config_SetReaderTime

b. Config_GetReaderTime

10.Set/query reader tset mode

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

2、 The logic of tag reader call

a.Activty_TagRead

3、 The logic of tag write call

a. Activty_TagWrite

4、 The logic of tg control call

a. Activty_TagControl

5、 The logic of reader RF close call

a. Activty_CloseRF
6、 The logic of reader sensitivity query/ set call

a. Activty_SetSensitivity

b. Activty_GetSensitivity

7、 The logic of reader status call

a. Activty_GetReaderStatus

 The logic of reader auxiliary operation call(see details in


sample code)
1、 Set reader flash via address

a. Parameter_SetReader

2、 Query reader flash via address

a. Parameter_GetReader

//////////////////////////////////////////////////////////////////////////

//remark: flash address parameter configuration comparison table

//Addr(HEX) Len(byte) Parameter meaning

//10 10 device serial no

//1B 1 LED and buzzer

//A3 1 reader address coding

//A0 4 reader IP

//A4 4 subnet mask

//A8 4 gate way

//AC 2 port

//70 1 reader sensitivity

//90 1 work mode(the first byte is open timer


mode, the second byte is open trigger mode)
//92 1 trigger valid time(1~180 s)

//93 1 tag filter(0 unavailable 1 available )

//////////////////////////////////////////////////////////////////////////

You might also like