Intermec IF2 Basic Reader Interface Programmer's Reference Manual (BRI version - Page 66

READ, Protecting the EPCID

Page 66 highlights

Chapter 4 - BRI Commands READ OK> PVERR indicates that an incorrect password has been supplied to the command, or that the memory space has already been locked using the ON keyword. Error 2: PWERR OK> PWERR indicates that the tag does not have enough power to complete the PROTECT operation. Examples: The examples below assume that the ACCESS password is H12345678, and the response to each command is LCKOKOK>. Example 1: PROTECT ON HEX(1:4,12) PASSWORD=H12345678 This command will lock memory bank 1 on the EPC Global Gen 2 tag. Once it is locked, data can always be read, but new data cannot be written until a PROTECT OFF command is issued. Example 2: PROTECT ON PERMANENT HEX(1:4,12) PASSWORD=H12345678 This command will permanently lock memory bank 1 on the EPC Global Gen 2 tag. Once in, data can never be written into this memory space once protected with the PERMANENT keyword. Data can always be read from this memory bank 1 after execution of this command. Example 3: PROTECT OFF PERMANENT HEX(1:4,12) PASSWORD=H12345678 This command will permanently unlock memory bank 1 on the EPC Global Gen 2 tag. Data can always be read or written from or to memory bank 1 after execution of this command. Note that once a memory bank is permanently unlocked, any PROTECT command will be ignored if issues to the permanently unlocked memory bank. Example 4: Protecting the EPCID WRITE HEX(0:4,4)=H12345678 PROTECT ON HEX(0:4,4) PASSWORD=H12345678 WRITE EPCID=H010203040506070809101112 PROTECT ON HEX(1:4,2) PASSWORD=H12345678 Purpose: This command controls how tag information is collected and reported. The READ command supports two collection modes: • In Singleshot mode, the reader executes the set number of IDTRIES or ANTTRIES, or continues reading until the IDTIMEOUT or ANTTIMEOUT timer expires, and returns all tags that are found. The number of tags found depends on the number of tags in the field. The singleshot mode may return NOTAG if no tags are present in the field of the reader and the NOTAGRPT 54 Basic Reader Interface Programmer Reference Manual

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146

Chapter 4 — BRI Commands
54
Basic Reader Interface Programmer Reference Manual
OK><CRLF>
PVERR indicates that an incorrect password has been supplied to the command, or
that the memory space has already been locked using the ON keyword.
Error 2:
PWERR<CRLF>
OK><CRLF>
PWERR indicates that the tag does not have enough power to complete the
PROTECT operation.
Examples:
The examples below assume that the ACCESS password is H12345678, and the
response to each command is
LCKOK<CRLF>OK><CRLF>.
Example 1:
PROTECT ON HEX(1:4,12) PASSWORD=H12345678
This command will lock memory bank 1 on the EPC Global Gen 2 tag. Once it is
locked, data can always be read, but new data cannot be written until a PROTECT
OFF command is issued.
Example 2:
PROTECT ON PERMANENT HEX(1:4,12) PASSWORD=H12345678
This command will permanently lock memory bank 1 on the EPC Global Gen 2 tag.
Once in, data can never be written into this memory space once protected with the
PERMANENT keyword. Data can always be read from this memory bank 1 after
execution of this command.
Example 3:
PROTECT OFF PERMANENT HEX(1:4,12) PASSWORD=H12345678
This command will permanently unlock memory bank 1 on the EPC Global Gen 2
tag. Data can always be read or written from or to memory bank 1 after execution of
this command. Note that once a memory bank is permanently unlocked, any
PROTECT command will be ignored if issues to the permanently unlocked memory
bank.
Example 4:
Protecting the EPCID
WRITE HEX(0:4,4)=H12345678
PROTECT ON HEX(0:4,4) PASSWORD=H12345678
WRITE EPCID=H010203040506070809101112
PROTECT ON HEX(1:4,2) PASSWORD=H12345678
READ
Purpose:
This command controls how tag information is collected and reported. The READ
command supports two collection modes:
In Singleshot mode, the reader executes the set number of IDTRIES or
ANTTRIES, or continues reading until the IDTIMEOUT or ANTTIMEOUT
timer expires, and returns all tags that are found. The number of tags found
depends on the number of tags in the field. The singleshot mode may return
NOTAG if no tags are present in the field of the reader and the NOTAGRPT