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

Unseltries, Utctime, Xonxoff

Page 110 highlights

Chapter 4 - BRI Commands UNSELTRIES UTCTIME XONXOFF When TTY is enabled, be aware of these effects: • The BRI command parser understands both the character (0x0D) and the character (0x0A) as line terminators. Therefore, any command followed by results in two OK> responses: the first is for the character, and the second is for the character. • BRI command responses are terminated with OK>. The is omitted. • For multi-line responses (for example, when multiple tags return after a READ command), each line up to the OK> line is always terminated by whether TTY is enabled or disabled. • If both the TTY and CHKSUM attributes are enabled, the BRI automatically disables the CHKSUM attribute (CHKSUM=OFF). When TTY is disabled, be aware of these effects: • The BRI command parser understands only the character (0x0A) as the line terminator. For example, the HyperTerminal by default sends only to terminate a line. Therefore, if TTY is disabled and you are using HyperTerminal, you should select Properties > Settings > ASCII Setup and check the "Send line ends with line feeds" check box to ensure that every command is followed by a termination character. Or, you can press Ctrl-J () to terminate a command, instead of pressing ENTER (). • BRI command responses are terminated with OK>. • For multi-line responses (for example, when multiple tags return after a READ command), each line up to the OK> line is always terminated by whether TTY is enabled or disabled. Sets the number of times a group unselect is attempted. Range is 0 to 254. Default is 1. ATTRIBUTE UNSELTRIES=1 Sets the value of the UTC time that is sent in BroadcastSync commands. The time is in seconds since the epoch of January 1, 1970 at 00:00:00. The reader increments this attribute once per second so reading the value will return the current UTC time. This attribute will default to zero whenever the reader is reset. The user application should set the value from a reliable clock source anytime the reader powers up or anytime the reader issues a BRI EVT:RESET. Range is 0to 4294967296. Default is 0. This attribute enables or disables the flow control for a serial connection. The default value for XONXOFF is OFF. Any changes to XONXOFF will take affect after the BRI has completed the response from the ATTRIBUTE command. 98 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
98
Basic Reader Interface Programmer Reference Manual
When TTY is enabled, be aware of these effects:
The BRI command parser understands both the <CR> character (0x0D) and the
<LF> character (0x0A) as line terminators. Therefore, any command followed by
<CRLF> results in two OK> responses: the first is for the <CR> character, and the
second is for the <LF> character.
BRI command responses are terminated with OK>. The <CRLF> is omitted.
For multi-line responses (for example, when multiple tags return after a READ
command), each line up to the OK> line is always terminated by <CRLF>
whether TTY is enabled or disabled.
If both the TTY and CHKSUM attributes are enabled, the BRI automatically
disables the CHKSUM attribute (
CHKSUM=OFF
).
When TTY is disabled, be aware of these effects:
The BRI command parser understands only the
<LF>
character (0x0A) as the
line terminator. For example, the HyperTerminal by default sends only
<CR>
to
terminate a line. Therefore, if TTY is disabled and you are using HyperTerminal,
you should select
Properties
>
Settings
>
ASCII
Setup
and check the “Send line
ends with line feeds” check box to ensure that every command is followed by a
<LF> termination character. Or, you can press
Ctrl
-
J
(<LF>) to terminate a
command, instead of pressing
ENTER
(<CR>).
BRI command responses are terminated with OK><CRLF>.
For multi-line responses (for example, when multiple tags return after a READ
command), each line up to the OK> line is always terminated by <CRLF>
whether TTY is enabled or disabled.
UNSELTRIES
Sets the number of times a group unselect is attempted. Range is 0 to 254.
Default is 1.
ATTRIBUTE UNSELTRIES=1
UTCTIME
Sets the value of the UTC time that is sent in BroadcastSync commands. The time is
in seconds since the epoch of January 1, 1970 at 00:00:00. The reader increments this
attribute once per second so reading the value will return the current UTC time.
This attribute will default to zero whenever the reader is reset. The user application
should set the value from a reliable clock source anytime the reader powers up or
anytime the reader issues a BRI EVT:RESET. Range is 0to 4294967296. Default is 0.
XONXOFF
This attribute enables or disables the flow control for a serial connection. The
default value for XONXOFF is OFF.
Any changes to XONXOFF will take affect after the BRI has completed the response
from the ATTRIBUTE command.