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

Reading the Reader Attributes, BLOCKPERMALOCK

Page 50 highlights

Chapter 4 - BRI Commands Syntax: Parameters: Reading the Reader Attributes ATTRIBUTE = This parameter specifies the attribute to read. For a complete description of the reader attributes, see "Understanding the Parameter" on page 86. If you do not include an in the command, the BRI returns the current settings of all the reader attributes. Examples: These examples demonstrate how to use the ATTRIBUTE command to read the reader attributes. Example 1: This example returns the current settings for all attributes: ATTRIBUTE Example 2: This example requests the value for the RDTRIES attribute: ATTRIBUTE RDTRIES The BRI returns the value of the parameter followed by a sequence. The BRI returns OK> for successfully reading the parameter. Here is an example response to this command: RDTRIES=3 OK> Example 3: This example requests the values for the IDTRIES and WRTRIES attributes: ATTRIBUTE IDTRIES, WRTRIES The BRI returns the value of the parameter followed by a . If an attribute name is specified that is not defined, the BRI returns ERR. Here are example responses to this command: • IDTRIES=2 WRTRIES=3 OK> • ATTRIBUTE IDTRIES IDTRIES=4 OK> • ATTRIBUTE IDTRY ERR OK> BLOCKPERMALOCK Purpose: This command allows the reader to permanently lock blocks of user memory. The size and number of memory blocks are dependent on the tag implementation. A variation of the command allows the reader to read the permalock status. 38 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
38
Basic Reader Interface Programmer Reference Manual
Reading the Reader Attributes
Syntax:
ATTRIBUTE <ATTRIBUTE NAME>
Parameters:
<ATTRIBUTE NAME> = This parameter specifies the attribute to read. For a
complete description of the reader attributes, see
“Understanding the
<ATTRIBUTE NAME> Parameter” on page 86
.
If you do not include an <ATTRIBUTE NAME> in the command, the BRI returns
the current settings of all the reader attributes.
Examples:
These examples demonstrate how to use the ATTRIBUTE command to read the
reader attributes.
Example 1:
This example returns the current settings for all attributes:
ATTRIBUTE<CRLF>
Example 2:
This example requests the value for the RDTRIES attribute:
ATTRIBUTE RDTRIES
The BRI returns the value of the parameter followed by a <CRLF> sequence. The BRI
returns OK><CRLF> for successfully reading the parameter. Here is an example
response to this command:
RDTRIES=3<CRLF>
OK><CRLF>
Example 3:
This example requests the values for the IDTRIES and WRTRIES attributes:
ATTRIBUTE IDTRIES, WRTRIES
The BRI returns the value of the parameter followed by a <CRLF>. If an attribute
name is specified that is not defined, the BRI returns ERR<CRLF>.
Here are example responses to this command:
IDTRIES=2<CRLF>
WRTRIES=3<CRLF>
OK><CRLF>
ATTRIBUTE IDTRIES<CRLF>
IDTRIES=4<CRLF>
OK><CRLF>
ATTRIBUTE IDTRY<CRLF>
ERR<CRLF>
OK><CRLF>
BLOCKPERMALOCK
Purpose:
This command allows the reader to permanently lock blocks of user memory. The
size and number of memory blocks are dependent on the tag implementation. A
variation of the command allows the reader to read the permalock status.