User's Guide

Tarvos User Guide - Version 0.3 79
tag.lock_access_pwd()
Permission
admin
Min parameters
1
Max parameters
4
Lock tag access password (first 2 parameters must be specified)
Param 1: 'lock_type' ==> (Enum) 'unsecured', 'perma_unsecured',
'secured', 'perma_secured'
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: Only ISOC supported.
Note: Identical to tag.lock() with lock_fields set to 'a'
Example:
tag.lock_access_pwd(tag_id=0x294315325E9DCB8F0871F7B3, lock_type=UNSECURED)
ok
tag.lock_id()
Permission
admin
Min parameters
1
Max parameters
4
Lock tag id (epc) (first 2 parameters must be specified)
Param 1: 'lock_type' ==> (Enum) 'unsecured', 'perma_unsecured',
'secured', 'perma_secured'
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: Only ISOC supported.
Note: Identical to tag.lock() with lock_fields set to 'e'
Example:
tag.lock_id(tag_id=0x294315325E9DCB8F0871F7B3, lock_type=UNSECURED)
ok