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

UHF RFID Reader User manual-Python

This document is a user manual for a UHF RFID Reader programmed in Python, detailing its features, connection methods, and event descriptions. It includes sections on quick start guides, message configuration, and specific commands for RFID operations. The manual is intended for developers and includes code examples for various functionalities of the RFID reader.
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)
37 views

UHF RFID Reader User manual-Python

This document is a user manual for a UHF RFID Reader programmed in Python, detailing its features, connection methods, and event descriptions. It includes sections on quick start guides, message configuration, and specific commands for RFID operations. The manual is intended for developers and includes code examples for various functionalities of the RFID reader.
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/ 46

UHF RFID Reader User

manual-Python

V0.0.3
1. Introduction ........................................................................................................................... 5

1.1. Overview ..................................................................................................................... 5

1.2. Applicable Devices ................................................................................................... 5

1.3. Copyright Statement ............................................................................................... 5

1.4. Basic flow of Read & Write .................................................................................... 6

2. Quick Start ............................................................................................................................. 7

3. Connection Description...................................................................................................... 8

3.1. RS232 Connection.................................................................................................... 8

3.2. RS485 Connection.................................................................................................... 9

3.3. TCP Client connection ............................................................................................. 9

3.4. TCP server listen ....................................................................................................... 9

3.5. USB-HID Connection ............................................................................................. 10

3.6. Close connection .................................................................................................... 10

4. Events Description ............................................................................................................. 10

4.1. ISO18000-6C Tag Report Events ........................................................................ 10

4.2. ISO18000-6C Tag Reports End Events .............................................................. 12

4.3. ISO18000-6B Tag Report Event .......................................................................... 12

4.4. ISO18000-6B Report End Events ........................................................................ 13

4.5. GB Tag Reports Events .......................................................................................... 14

4.6. GB Tag Report End Events ................................................................................... 15

4.7. GPI Trigger Start Events ........................................................................................ 15

4.8. GPI Trigger End Events.......................................................................................... 17


4.9. TCP Connection Disconnect Events................................................................... 18

4.10. TCP Connection Events ..................................................................................... 19

5. Message Configuration & Query Description............................................................ 20

5.1. Send Synchronized Message .............................................................................. 20

6. Message Description ......................................................................................................... 22

6.1. Reader Configuration and Management......................................................... 22

6.1.1. Reset reader ................................................................................................. 22

6.1.2. Set and Get COM Parameter ................................................................... 22

6.1.3. Set GPO State parameter ......................................................................... 23

6.1.4. Get GPI State Parameter ........................................................................... 23

6.1.5. Set and Get GPI Trigger Parameter ....................................................... 24

6.1.6. Get Software Baseband Version ............................................................. 25

6.1.7. Get Reader RFID Capabilities .................................................................. 26

6.1.8. Get Reader Info ........................................................................................... 27

6.1.9. Set Beep ........................................................................................................ 27

6.2. RFID Configuration and Operation ................................................................... 28

6.2.1. Stop Command ........................................................................................... 28

6.2.2. Set and Get Reader Antenna Power ...................................................... 28

6.2.3. Set and Get Reader Frequency Range .................................................. 29

6.2.4. Set and Get EPC Baseband Parameter.................................................. 29

6.2.5. Set and Get GB Baseband Parameter ................................................... 30

6.2.6. Set and Get Tag Uploading Log ............................................................. 31


6.2.7. Read EPC Tag ............................................................................................... 32

6.2.8. Write EPC Tag .............................................................................................. 33

6.2.9. Lock EPC Tag................................................................................................ 35

6.2.10. Kill EPC Tag................................................................................................... 35

6.2.11. Read 6B tag ................................................................................................. 36

6.2.12. Write 6B Tag ................................................................................................ 37

6.2.13. Lock 6B Tag .................................................................................................. 37

6.2.14. Get 6B Tag Locking Status ....................................................................... 38

6.2.15. Read GB Tag ................................................................................................ 39

6.2.16. Write GB Tag................................................................................................ 40

6.2.17. Lock GB Tag ................................................................................................. 41

6.2.18. Kill GB Tag .................................................................................................... 42

7. Description ........................................................................................................................... 43

7.1.1. Filter of 6C tag............................................................................................. 43

7.1.2. 6C Tag Read TID Parameter ..................................................................... 43

7.1.3. 6C Tag Read User Memory Parameter.................................................. 44

7.1.4. 6B Tag Read User Memory Parameter.................................................. 44

7.1.5. GB Tag Read User Memory Parameter ................................................. 45

8. Appendix I ............................................................................................................................ 46
1. Introduction

1.1. Overview

For user better secondary developing, we provided function library for Python developer,

which is programmed in Python and encapsulated into standard tar.gz package

1.2. Applicable Devices

Function module Suitable devices

RFID reader configuration&management

RFID Configuration& Operation All UHF device model

1.3. Copyright Statement

All contents in this document, including but not limited to text, photo are all properties of GEE

NFC LIMITED. Please do not add, delete, revise and use it in commercial if without consent of us.

GEE NFC Limited reserves all rights of this document.


1.4. Basic flow of Read & Write
2. Quick Start

from uhf.reader import *

def receivedEpc(epcInfo: LogBaseEpcInfo):

if epcInfo.result == 0:

print(epcInfo.epc)

def uploadEpcOver(epcOver: LogBaseEpcOver):

print("LogBaseEpcOver")

if __name__ == '__main__':

client = GClient()

# Com port connection Ture means successfully connected

if client.openSerial(("COM7", 115200)): # Do not reconnect, could close to release the resource, then

reconnect. Unclosed client can be reused


# Subscribe tag reporting event

client.callEpcInfo = receivedEpc

client.callEpcOver = uploadEpcOver

# Inventory 6C No.1 antenna

msg = MsgBaseInventoryEpc(EnumG.AntennaNo_1.value,

EnumG.InventoryMode_Inventory.value)

if client.sendSynMsg(msg) == 0:
print(msg.rtMsg)

sleep(5) # Inventory for 5 second

stop = MsgBaseStop() # Stop inventory

if client.sendSynMsg(stop) == 0:

print(stop.rtMsg)

client.close() # Close connection, release resouces

3. Connection Description

3.1. RS232 Connection

Class GClient
Function openSerial(readName: (), kwargs) --> bool

readName-->("COM7",115200) COM Port No,Baud Rate | kwargs-->timeout Default is


Description
ok.
3.2. RS485 Connection

Class GClient
Function openSerial485(readName: (), **kwargs) --> bool

readName-->("COM7",115200,1) COM Port No,Baud Rate, address | kwargs-->timeout Default is


Description
fine.

3.3. TCP Client connection

Class GClient
Function openTcp(readName: (), **kwargs) --> bool

Description readName-->("192.168.1.168",8160) ip,port | kwargs-->timeout Default is ok

3.4. TCP server listen

Class GServer
Function openServer(port: int)

Stop listen close()

port: the port that listened by upper server


Description Need set UHF device configuration as “TCPclient” if Listen by this method.
“TCPclient”configuration see 《RFID Demo Operation Manual.pdf》。
3.5. USB-HID Connection

Class GClient
Function openUsbHid(param: bytes) --> bool

Description param-->could use FunctiongetUsbHidPathList() or getUsbHidPathDict() command to fetch

3.6. Close connection

Function client.close()

Disconnect connection and release the resources ( for invalid linked objects, need call this function to
Description
release resources)

4. Events Description

4.1. ISO18000-6C Tag Report Events

Class GClient

client.callEpcInfo = receiveEpc

def receiveEpc(epcInfo: LogBaseEpcInfo):

Example Pass

Description 6C tag reports events actively: Tag info will be reported to upper server via this

event when antenna is in reading status. For details see Example code in SDK.

LogBaseEpcInfo:see below ”reporting object”


Reporting object

Class LogBaseEpcInfo

Epc:EPC string in HEX

BEpc:EPC byte array

Pc:Protocol control value

AntId:Antenna No.

Rssi:Signal strength

Result:Tag reading result, 0 read successfully, otherwise failed


Attribute
Tid: TID string in HEX

BTid:TID byte array

Userdata:Userdata string in HEX

BUser:Userdatab byte array

Reserved:Reserved string in HEX

BRes:Reserved byte array

Description 6C tag report parameters actively


4.2. ISO18000-6C Tag Reports End Events

Class GClient

client.callEpcOver = receiveEpcOver

def receiveEpcOver(epcOver: LogBaseEpcOver):


Example
Pass
Description
6C Tag report end parameters actively to ensure the asynchronous message

being synchronized

4.3. ISO18000-6B Tag Report Event

Class GClient

client.call6bInfo = receive6b

def receive6b(6bInfo: LogBase6bInfo):

pass
Example
6B tag reports events actively; Tag info will be reported to upper server via this
Description
event when antenna is in reading status. For details see Example code in SDK.

For details see Example code in SDK.

LogBase6bInfo:see below “report objects”


Reporting Object

Class LogBase6bInfo

AntId:Antenna No.

Rssi:Signal strength

Result:Tag reading result, 0 means success, non-zero means failure

Attribute Tid:TID string in HEX

BTid:TID byte array

Userdata:Userdata string in HEX

BUser:Userdata byte array

Description 6b tag reports to upper server actively

4.4. ISO18000-6B Report End Events

Class GClient

client.call6bOver = receive6bOver

def receive6bOver(6bOver: LogBase6bOver):


Example
Pass
Description
6B tag reports End events actively to ensure asynchronous messages being

synchronized
4.5. GB Tag Reports Events

Class GClient

client.callGbInfo = receiveGbInfo

def receiveGbInfo(gbInfo: LogBaseGbInfo):

Example pass

Description GB tag reports events actively. When reader is in reading status, tag data will be

reported to upper server via this event. For details check” Quick start”

LogBaseGbInfo:Check below ”Report object”

Report object

Class LogBaseGbInfo

Epc:EPC string in HEX

BEpc:EPC byte array

Pc:Protocol control value

AntId:Antenna No.

Rssi:Signal strength
Attribute
Result:Tag reading result, 0 read successfully, otherwise failed

Tid: TID string in HEX

BTid:TID byte array

Userdata:Userdata string in HEX

BUser:Userdata byte array


Description Gb tag reports parameters actively

4.6. GB Tag Report End Events

Class GClient

client.callGbOver = receiveGbOver

def receiveGbOver(gbOver: LogBaseGbOver):


Example
pass
Description
GB tag reports End events actively to ensure asynchronous messages being

synchronized

4.7. GPI Trigger Start Events

Class GClient

client.callGpiStart = gpiStart

def gpiStart(start: LogGpiStart):

Example pass

Description When GPI trigger activated, reader will reports an event to upper server actively

informing trigger operation started

LogGpiStart:for details see below ”Report object”

Report Object
Class LogAppGpiStart

gpiPort:GPI port No.

gpiPortLevel:GPI port voltage level, 0 means low level, 1 means high level
Attribute
systemTime: system real time

Description GPI triggers start event parameters


4.8. GPI Trigger End Events

Class GClient

client.callGpiOver = gpiOver

def gpiOver(over: LogGpiOver):

Example pass

Description When trigger stopped, reader will report a message actively to upper server,

informing GPI trigger operation has stopped

LogGpiOver:See below “Report object “for details

Report object

Class LogAppGpiOver

gpiPort:GPI port No.

Attribute gpiPortLevel:GPI port Voltage level, 0 means low level, 1 means high level

systemTime: system real time

Description GPI trigger stop event parameters


4.9. TCP Connection Disconnect Events

Class GClient

client.callTcpDisconnect = tcpDisconnect

Example def tcpDisconnect(readerName: ()):

pass

Description:

 The connection is under TCP. When remote connection is actively

disconnected or occur physical layer abnormal, this event will be reported

 After event reported, it required the upper server ( the caller) release

Description connected object, otherwise the event will be repeatedly reported until

connected object being released.

 To meet wth different requirements, reconnection of TCP need to be

self-controlled by upper server ( caller)controller

readerName:Connected object( reader) name,('192.168.1.168', 8160)。


4.10. TCP Connection Events

Class GServer

g_server.callGClientConnected = clientConnected

Example def clientConnected(readerSerialNumber: str, gClient: GClient):

pass

TCP is under monitoring, if remote reader actively connected into upper server,

this event will be trigged and reported.


Description
readerSerialNumber: Reader serial number

gClient:see”Report object”for details

Report object

Class GClient

Description:this connected object is same as other actively connected objects,


Description
usage is the same
5. Message Configuration & Query Description

5.1. Send Synchronized Message

Class GClient

def sendSynMsg(msg: Message, timeout=3) Synchronized message, wait return


Method
value

def senUnSynMsg(msg: Message) Asynchronized message, do not wait return


Method 1
value

msg.rtCode:Message return code 0 means success, non-zero means failure

Return Value msg.rtMsg:Returned message if communication succeed, if communication

failed, Return None

“Reader Configuration and management”, “RFID configuration and


Description
operation”message and other message all can be sent in these method。

Sample code 1

// Stop command, idle status

stop = MsgBaseStop()

if client.sendSynMsg(stop) == 0: # fastly judge the message type

print(stop.rtMsg)
Sample code 2

// RF power configuration, set all 4 antenna RF power as 30 dBm

dicPower = {"1": 30, "2": 30, "3": 30, "4": 30}

msg = MsgBaseSetPower(**dicPower)

if client.sendSynMsg(msg) == 0:

print(msg.rtMsg)
6. Message Description

6.1. Reader Configuration and Management

6.1.1. Reset reader

Class MsgAppReset

Attribute N/A

Reader reset message, normally conduct this command after revised


Description
configurations

6.1.2. Set and Get COM Parameter

Set Class MsgAppSetSerialParam(baudRateIndex: int)

Get Class MsgAppGetSerialParam

baudRateIndex: baud rate(0,9600 bps; 1,19200 bps; 2,115200 bps; 3,


Attribute
230400 bps; 4,460800bps)

Set reader COM port parameters. After set, it will be stored into reader even
Description
powered off
6.1.3. Set GPO State parameter

Class MsgAppSetGpo(**kwargs)

gpo1: 0 (low level,relay opened) 1 (High level,relay closed)

gpo2: 0 (low level,relay opened) 1 (High level,relay closed)

Attribute gpo3: 0 (low level,relay opened) 1 (High level,relay closed)

gpo4: 0 (low level,relay opened) 1 (High level,relay closed)

…….

Set Reader GPO parameters. After set, it will be stored into reader even powered
Description
off

6.1.4. Get GPI State Parameter

Class MsgAppGetGpiState

dicGpi: Relevant GPI voltage level state ( Class:dict , key:GPI index,value:


Attribute
voltage level state(0 low,1 high))

Get Reader GPI state


Description
Note:Index No. starts from 1.
6.1.5. Set and Get GPI Trigger Parameter

Set Class MsgAppSetGpiTrigger

Get Class MsgAppGetGpiTrigger

gpiPort: GPI port No., index started from 0

triggerStart: Trigger start(0 trigger closed,1 Low level trigger,2 High Level

trigger,3 Rising edge trigger,4 Falling edge trigger,5 Random edge trigger)

hexTriggerCommand: trigger binding command(Hex, can be null)

triggerOver: trigger stop(0 no stop,1 Low level trigger,2 High Level trigger,

Attribute 3 Rising edge trigger,4 Falling edge trigger,5 Random edge trigger)

overDelayTime: Stop time delay (valid only when stop condition as

“overDelayTime”)

levelUploadSwitch: uploading switch of IO level state when triggering is

non-stop(0 not upload,1 upload)

Set reader GPI trigger parameter. After set, it will be stored into reader even
Description
powered off
6.1.6. Get Software Baseband Version

Class MsgAppGetBaseVersion

Attribute baseVersions: software baseband version

Description To get software baseband version


6.1.7. Get Reader RFID Capabilities

Class MsgBaseGetCapabilities

MaxPower: Max supported RF power

MinPower:Min supported RF power

AntennaCount:Antennas quantity

FrequencyArray:supported frequency band

0, GB 920~925MHz

1, GB 840~845MHz

2, GB 840~845MHz 和 920~925MHz
Attribute
3, FCC,902~928MHz

4,ETSI,866~868MHz

ProtocolArray:supported protocols

0, ISO18000-6C/EPC C1G2

1, ISO18000-6B

2, GB/T 29768-2013

3, GJB 7383.1-2011

Description N/A
6.1.8. Get Reader Info

Class MsgAppGetReaderInfo

readerSerialNumber: Reader serial number

powerOnTime:Power on time

baseCompileTime:Base band compile time


Attribute
appVersions:Application software version(Example:“0.1.0.0”)

appCompileTime:Application compile time

systemVersions:Operation system version

Description N/A

6.1.9. Set Beep

Class MsgAppSetBeep

beepStatus: 0- stop 1-beep


Attribute
beepMode: 0-beep for 1 time 1- continuously beep

Description N/A
6.2. RFID Configuration and Operation

6.2.1. Stop Command

Class MsgBaseStop

Attribute N/A

Stop all RFID operations of reader and make the reader into idle status

Description Note: when reader is in reading, all configuration messages can not be sent

unless Stop command is effective.

6.2.2. Set and Get Reader Antenna Power

Set Class MsgBaseSetPower

Get Class MsgBaseGetPower

dicPower : the corresponding antenna Power ( Class:dict, key:Antenna index


Attribute
No.,value:antenna power value)

Set reader antenna power, once set, it will be stored into reader even powered
Description
off

dicPower = {"1": 30, "2": 30, "3": 30, "4": 30}

msg = MsgBaseSetPower(**dicPower)
Example
if client.sendSynMsg(msg) == 0:

print(msg.rtMsg)
6.2.3. Set and Get Reader Frequency Range

Set Class MsgBaseSetFreqRange

Get Class MsgBaseGetFreqRange

Attribute freqRangeIndex: Frequency range index, for detail, please check Appendix I

Set reader working frequency range, once set, it will be stored into reader even
Description
powered off

6.2.4. Set and Get EPC Baseband Parameter

Set Class MsgBaseSetBaseband

Get Class MsgBaseGetBaseband

baseSpeed: EPC bandband speed (Optional).

qValue: Default Q value(Optional)(0~15).

Attribute session: (Optional)(0,Session0; 1,Session1; 2,Session2; 3,Session3)。

inventoryFlag: Inventory flag(Optional)(0, Inventory by Flag A only;1, Inventory

by Flag B only; 2, Inventory by Flag A and Flag B alternately).

Set base band parameter of reader, once set, it will be stored into reader even
Description
powered off
6.2.5. Set and Get GB Baseband Parameter

Set Class MsgBaseSetGbBaseband

Get Class MsgBaseGetGbBaseband

speed_tc: 0,Tc=6.25us;1,Tc=12.5us

speed_trext:0,Trext=0,no pilot signal;1,Trext=1,has pilot signal

speed_k: Reverse link factor K,0,K=1/5;1,K=3/7;2,K=6/11;3,K=1;

4,K=2/5;5,K=6/7;6,K=12/11;7,K=2;8~15,Reserve

speed_miller: Reverse link code,0,FM0;1,Miller=2;2,Miller=4;3,Miller=8

Attribute cin: Anti-collision parameter,Continuous idle threshold,CIN,default value 4

ccn: Anti-collision parameter,Continuous collision threshold,CCN,default

value 3

session: (0,Session0; 1,Session1; 2,Session2; 3,Session3).(Optional)

inventoryFlag: Inventory flag ( Optional ) (0, Inventory by Flag A only;1,

Inventory by Flag B only; 2, Inventory by Flag A and Flag B alternately).

Set GB standard base band parameter of reader, once set, it will be stored into
Description
reader even powered off
6.2.6. Set and Get Tag Uploading Log

Set Class MsgBaseSetTagLog

Get Class MsgBaseGetTagLog

RepeatedTime: Filtering time of repeated tag(Optional)(Mean same tag

content is only uploaded one time in designated filter time, 0~65535,Unit:

Attribute 10ms)。

RssiTV: RSSI thredhold Value(Optional)(If tag’s RSSI value lower than

Thredhold value, tag content will be discard and not uploaded).

Set Reader upload parameters, once set, it will be saved into reader even
Description
powered off
6.2.7. Read EPC Tag

Class MsgBaseInventoryEpc

antennaEnable: Antenna port( see “Quick start” for details)

inventoryMode: Continuous/ single inventory (0: Single inventory mode,reader

read tags for one time on each enabled antennas then stop reading and into

idle status; 1: Continuous inventory mode,reader will continuously read tags

until received stop reading command)


Attribute
filter: filter parameters(Optional), see Description for details

readTid: read TID(Optional), see Description for details

readUserdata: read user memory(Optional), see Description for details

readReserved: read reserve memory(Optional), see Description for details

hexPassword: Access password(Optional)

Set inventory parameter and start reading, user shall first get tag’s EPC
Description
before operate the data of a tag.
6.2.8. Write EPC Tag

Class MsgBaseWriteEpc

AntennaEnable: Antenna port

Area:tag data area (0,Reserve;1,EPC;2,TID;3,User)

Start:Start address( in word) of tag data to be written

Attribute HexWriteData:Data to be written (in HEX)(Optional)

BwriteData:Data to be written

Filter: filter parameter(Optional)(for details, see”Description”)

HexPassword: Access password (in HEX)(Optional)

 Reader write an EPC tag, It is a command for single operation.

 ISO18000-6C protocol regulate that read write min data length is 1 word

(16 bit)

 EPC bank is composed by CRC-16( the 0th word) + PC(the 1st word) +

EPC:

Description
CRC16: the 0th word, not writable.

PC:the 1st word,first 5 bit means EPC word lenth,calculated by the method

of left move 11 bit of the EPC length.

For example, 96 bit EPC, EPC length 6 words, that is 0000000000000110,

Left move 11 bit, then it is 0011000000000000, converted into HEX, it is 3


0, Write success

1, Antenna port parameter error

2, Filter parameter error

3, Write parameter error

4, CRC error

5, RF power not enough


Write result
6, Data area overflow

7, Data area is locked

8, Access password error

9, Other tag error

10,Tag missed

11,Reader send command error


6.2.9. Lock EPC Tag

Class MsgBaseLockEpc

AntennaEnable: Antenna port

Area:Data area to be locked (0,kill password;1,access password;2,EPC;

3,TID;4,user)

Attribute Mode:Lock operation Class (0,unlock;1,lock;2,permanently unlock;3,

permanently lock)

Filter: filter(Optional)(see “Description”for details)

HexPassword: Accesss password(Optional)

Description Lock and unlock a tag. It is a command for single operation.

6.2.10. Kill EPC Tag

Class MsgBaseDestoryEpc

AntennaEnable: Antenna port

Attribute HexPassword: Kill password (in HEX)

Filter: Filter(Optional)(see “Description”for details)

Kill a tag, after killed, the tag will be permanently disabled. It is a command for
Description
single operation.
6.2.11. Read 6B tag

Class MsgBaseInventory6b

AntennaEnable: Antenna port

InventoryMode: Continuous/ Single inventory (0: Single inventory,reader read

tags for one time on each enabled antennas then stop reading and into idle

status; 1: Continuous inventory mode,reader will continuously read tags until

received stop reading command)


Attribute
Area:Read area(0,read 6B TID only;1,Read 6B TID+ User 2,Read User only)

ReadUserdata: Read user area data(optinal)(See”Chatper 7 Description”for

details)

HexMatchTid:6B Tag TID to be matched(Optional)(In HEX)

BMatchTid:6B Tag TID to be matched(Optional)

Description Read data of ISO18000-6B Tag


6.2.12. Write 6B Tag

Class MsgBaseWrite6b

AntennaEnable: Antenna port

HexMatchTid: TID to be matched(Optional)(In HEX)

BMatchTid: TID to be matched


Attribute
Start: Start Byte address to be written

HexWriteData:Data to be written(Optional)(In HEX)

BwriteData:Data to be written

Description Write 6B tag, this is a single operation command.

6.2.13. Lock 6B Tag

Class MsgBaseLock6b

AntennaEnable: Antenna port

HexMatchTid:TID to be matched(Optional)(In HEX)


Attribute
BMatchTid:TID to be matched

LockIndex: Byte length of data that to be locked

Description Lock 6B tag, this is Irrevocable single operation command.


6.2.14. Get 6B Tag Locking Status

Class MsgBaseLock6bGet

AntennaEnable: Antenna port

HexMatchTid:TID to be matched (optional) (In HEX


Attribute
BMatchTid:TID to be matched

LockIndex: Byte Address of locked data to be get

Description Get 6B tag locking status, this is a single operation command


6.2.15. Read GB Tag

Class MsgBaseInventoryGb

AntennaEnable: Antenna port(

InventoryMode: Continuous/ Single inventory (0: Single inventory,reader read

tags for one time on each enabled antennas then stop reading and into idle

status; 1: Continuous inventory mode,reader will continuously read tags until

received stop reading command)


Attribute
Fliter: Filter (optional) (Read TID) (See”Chatper 7 Description)

ReadTid: TID parameters(optional)(See”Chatper 7 Description”for details)

ReadUserdata: Read user area data(optional)


(See”Chatper 7 Description”for

details)

HexPassword: Access password(optional)

Set tag reading parameters and start reading operation , any data to be
Description
operated shall firstly read Tag’s EPC.
6.2.16. Write GB Tag

Class MsgBaseWriteGb

AntennaEnable: Antenna port

Area:data area to be written (0x10,tag encodeing area; 0x20,tag secure area

0x30~0x3F,user child area ( 0~15)

Start:Start Word address to be written


Attribute
HexWriteData:Data to be written(Optional)(In HEX)

BwriteData:Data to be written

Filter: Filter(Optional)((check”Chatper 7 Description”for details))

HexPassword: Access password(Optional)

 Write 6B tag,this is a single operation command


Description
 GB protocol regulate min data length as Word
6.2.17. Lock GB Tag

Class MsgBaseLockGb

AntennaEnable: Antenna port

Area:Data area to be locked (0x00 标签信息区,0x10 tag encoding area,0x20 tag

secure area ,

0x30~0x3F user child area (0~15)

Mode:Lock mode. Class

0x00,Readable and writable.

0x01,Readable but not writable.

0x02,unreadable but writable.

Attribute 0x03,unreadable and unwritable

0x11,Set secure mode as no verification, operation area shall be in secure area

0x12 , Set secure mode as no verification ,needn’t safe communication.

operation area shall be in secure area

0x13,Set secure mode as verification, it required safe communication, the

operated area shall be in secure area.

Filter: Fileter ( Optional ) ( check”Chatper 7 Description”for details

Description)

HexPassword: Access password(Optional)

Description Lock or unlock operation. this is a single operation command.


6.2.18. Kill GB Tag

Class MsgBaseDestoryGb

AntennaEnable: Antenna port

Attribute HexPassword: Kill password in HEX

Filter: Filter (optional) (Read TID) (See”Chatper 7 Description)

Kill a tag, after killed; the tag will be permanently disabled. It is a command for
Description
single operation.
7. Description

7.1.1. Filter of 6C tag

Class ParamEpcFilter

Area: Matched data area (1,EPC;2,TID;3,User memory)

BitStart: Start bit address of matched data


Attribute
BitLength: Bit length of matched data

HexData: Data that need to be matched( in HEX) (optional)

Description Optional parameters( EPC bank first 32 bit)

7.1.2. 6C Tag Read TID Parameter

Class ParamEpcReadTid

Mode:TID read mode,(0,TID length is self-adapted, but max length do not

exceed the length defined in byte 1;1,read TID according to the length defined
Attribute
in byte 1 )

Len:Word length to be read ( 1 word=16 bit)

Description Optional parameter


7.1.3. 6C Tag Read User Memory Parameter

Class ParamEpcReadUserdata

Start:Start word address


Attribute
Len:Word length to be read ( 1 word=16 bit)

Description Optional parameter

7.1.4. 6B Tag Read User Memory Parameter

Class Param6bReadUserdata

Start:start Byte address


Attribute
Len:User data Byte length

Description Optional parameter


7.1.5. GB Tag Read User Memory Parameter

Class ParamGbReadUserdata

ChildArea:User Child area

Attribute Start:User data start byte address

Len:User data Byte length

Description Optional parameter


8. Appendix I

Reader supported frequency band list

Index Description

0 GB 920~925MHz

1 GB 840~845MHz

2 GB 840~845MHz and 920~925MHz

3 FCC,902~928MHz

4 ETSI,866~868MHz

You might also like