Table of Contents

.lo Lock command

This command is used to control access to the memory banks and passwords of the selected transponders. The lock is controlled by a 20 bit lock payload, please refer to the latest UHF Class 1 Gen 2 Standard for details. Care should be taken since some lock actions are permanent.

Android iOS .NET
link coming soon link coming soon LockTransponderCommand

Parameters

Identifier Values Description
-ap xxxxxxxx Access password, where xxxxxxxx is an 8 character ASCII Hex value
-c on/off Include EPC checksum response
-dt on/off Include date time response
-e on/off Include EPC PC information response
-io on/off Inventory only, if set to on then no select will be performed before the inventory round phase is started
-ix on/off Index number each transponder response
-lp xxxxx 20 bit Lock command payload where xxxxx is a 5 character ASCII Hex value
-n No action, just set the parameters
-o nn Output power in dBm, where nn is in the range 10 to 29
-p List the parameter and their current values
-ql all/nsl/sl query Select
-qs s0,s1,s2,s3 query Session
-qt a/b query Target
-qv nn Q value (0..15)
-r on/off Include transponder RSSI response
-sa n Select action
-sb epc/tid/usr Bank to use for the select mask
-sd xx..zz Select mask data in 2 character ASCII Hex bytes padded to ensure full bytes, up to a maximum of 32 bytes.
-sl xx Length in bits of the select mask, where xx is a 2 character ASCII Hex value
-so xxxx Number of bits from the start of the block to the start of the select mask, where xxxx is a 4 character ASCII Hex value
-st s0,s1,s2,s3,sl Select target
-x Reset the parameters to defaults

Parameter detail

-ap

Access password, where xxxxxxxx is an 8 character ASCII Hex value

TypeHEX
Valuexxxxxxxx
Range8 Hex digits
Order In Interpretation20
Default Value00000000

-c

Include EPC checksum response

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation2
Default Valueoff

-dt

Include date time response

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation5
Default Valueoff

-e

Include EPC PC information response

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation3
Default Valueoff

-io

Inventory only, if set to on then no select will be performed before the inventory round phase is started

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation12
Default Valueoff

-ix

Index number each transponder response

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation6
Default Valueoff

-lp

20 bit Lock command payload where xxxxx is a 5 character ASCII Hex value

TypeHEX
Valuexxxxx
Range5 Hex digits
Order In Interpretation19
Default Value00000

-n

No action, just set the parameters

TypeSwitch
Value
Range
Order In Interpretation22

-o

Output power in dBm, where nn is in the range 10 to 29

TypeOutput power
Valuenn
Range
Order In Interpretation11
Default Value29

-p

List the parameter and their current values

TypeSwitch
Value
Range
Order In Interpretation21

-ql

query Select

TypeEnum
Valueall/nsl/sl
Rangeall/nsl/sl
Order In Interpretation15
Default Valueall

-qs

query Session

TypeEnum
Values0,s1,s2,s3
Ranges0/s1/s2/s3
Order In Interpretation16
Default Values1

-qt

query Target

TypeEnum
Valuea/b
Rangea/b
Order In Interpretation17
Default Valueb

-qv

Q value (0..15)

TypeOutput power
Valuenn
Range
Order In Interpretation18
Default Value2

-r

Include transponder RSSI response

TypeEnum
Valueon/off
Rangeon/off
Order In Interpretation4
Default Valueoff

-sa

Select action

Parameter

n=

Matching ActionNon Matching Action
SL FlagSession FlagSL FlagSession Flag
0assertSet AdeassertSet B
1assertSet Anothingnothing
2nothingnothingdeassertSet B
3toggletogglenothingnothing
4deassertSet BassertSet A
5deassertSet Bnothingnothing
6nothingnothingassertSet A
7nothingnothingtoggletoggle
TypeNumeric
Valuen
Range
Order In Interpretation13
Default Value4

-sb

Bank to use for the select mask

TypeEnum
Valueepc/tid/usr
Rangeepc/tid/usr
Order In Interpretation7
Default Valueepc

-sd

Select mask data in 2 character ASCII Hex bytes padded to ensure full bytes, up to a maximum of 32 bytes.

TypeHEX
Valuexx..zz
RangeInteger number of HEX bytes
Order In Interpretation10
Default Value

-sl

Length in bits of the select mask, where xx is a 2 character ASCII Hex value

TypeHEX
Valuexx
Range2 Hex digits
Order In Interpretation9
Default Value00

-so

Number of bits from the start of the block to the start of the select mask, where xxxx is a 4 character ASCII Hex value

TypeHEX
Valuexxxx
Range4 Hex digits
Order In Interpretation8
Default Value0000

-st

Select target

TypeEnum
Values0,s1,s2,s3,sl
Ranges0/s1/s2/s3/sl
Order In Interpretation14
Default Values1

-x

Reset the parameters to defaults

TypeSwitch
Value
Range
Order In Interpretation1

Parameter Interpretation Order

-x, -c, -e, -r, -dt, -ix, -sb,-so, -sl, -sd, -o, -io,-sa, -st, -ql, -qs, -qt, -qv, -lp, -ap, -p, -n

Parameter Defaults

-ap 00000000, -c off, -dt off, -e off, -io off, -ix off, -lp 00000, -o 29, -ql all, -qs s1, -qt b, -qv 2, -r off, -sa 4, -sb epc, -sd, -sl 00, -so 0000, -st s1

Response Headers

CR CS DT EA EB EP ER IX LS ME OK PC PR RI

Examples

CommandResponseAction
.lo -n -pCS: .lo -n -p

PR: -ap 00000000 -c off -dt off -e off

-io off -ix off -lp 00000 -n -o 29 -p

-ql all -qs s1 -qt b -qv 2 -r off -sa 4

-sb epc -sd -sl 00 -so 0000 -st s1

-x

OK:

No Action
.lo -lp 08020 -ap 00000001CS: .lo -lp 08020 -ap 00000001

EP: 3005FB63AC1F3681EC880468

LS: Lock Success

OK:

EPC memory bank lock is set so it is writable only in the secured state