User's Guide

Tarvos User Guide - Version 0.3 81
tag.read()
Permission
admin
Min parameters
1
Max parameters
4
Read information from the first tag to respond in the field.
Param 1: 'report' ==> (Enum Array) 'kill_pwd', 'access_pwd',
'tag_id', 'tid', 'user_data'
Param 2: 'tag_id' ==> (Hex Array) Identifier of tag being operated
upon (for ISOC, its the EPC)
(e.g. 0x294315325E9DCB8F0871F7B3)
Param 3: 'pwd' ==> (Hex Array) 32 bit password (for ISOC) of the
tag (e.g. 0x12345678)
Param 4: 'antenna' ==> (Integer) Antenna port to work with
(e.g. '1', '2', ...)
Note: This will go through all antennas and all protocols (see setup.protocols)
and respond with the first tag seen (or will timeout)
Example:
tag.read(report=tag_id tid, antenna=1)
ok tag_id=0xB27AE47FD851275A7D01, tid=0xE2806810200000016011A040
tag.read_access_pwd()
Permission
admin
Min parameters
0
Max parameters
3
Read access password from the first tag to respond in the field.
Param 1: 'tag_id' ==> (Hex Array) Identifier of tag being operated
upon (for ISOC, its the EPC)
(e.g. 0x294315325E9DCB8F0871F7B3)
Param 2: 'pwd' ==> (Hex Array) 32 bit password (for ISOC) of the
tag (e.g. 0x12345678)
Param 3: 'antenna' ==> (Integer) Antenna port to work with
(e.g. '1', '2', ...)
Note: This will go through all antennas and all protocols (see setup.protocols)
and respond with the first tag seen (or will timeout)
Note: This is the same as tag.read() with 'report' set to 'access_pwd'
Example:
tag.read_access_pwd()
ok access_pwd=0x12345678