Intermec CV30 Intermec Terminal Emulator (ITE) Programmer's Reference Manual - Page 136

VT/ANSI Data Stream Control Character Method, Return Codes for the RFID (#J) Set Filter Command

Page 136 highlights

Chapter 3 - Extended Commands Example 1: Set a writing filter to match the first two bytes of tags with their tag ID starting with 0211: b#J000000000040211# Example 2: Set a reading filter to match ISO/G1 tags that have DATA in position 18: b#J2000180004DATA# Example 3: Set a reading filter to match EPC Class 1 Gen 2 tags that have DATA at location 0 of the user data bank (3) of the tag: b#J30000000004DATA# VT/ANSI Data Stream Control Character Method This method uses the control characters APC (0x9f) and ST(0x9c) to encapsulate the extended command. Using the control characters method is faster since they are not written to the display. You do not need to clear the screen or move the cursor because the encapsulated command executes in the background. The format is exactly the same as the conventional method within the APC and ST control characters. Note: For VT/ANSI data stream, send the # character to row 1, column 2 last to ensure all command data is received before processing the extended command. Example: This takes Example 2 on the previous page and uses the control character method: ^9F#J0001800004DATA#^9C Return Codes for the RFID (#J) Set Filter Command The return code is a status sent to the host computer in the \\x format indicating whether the extended command was successful. The return codes are listed in the following chart. Return Codes for RFID (#J) Set Filter Command Code 0 1 2 3 4 A Z Description Good status, transaction complete. Invalid starting position, must be 0 to 65535. Terminating '#' character missing. Error in AID code (3270 or 5250 only). Invalid filter length, must be 0 to 255. Bank not '0' - '3'. Command not supported for this device. 124 Intermec Terminal Emulator (ITE) Programmer's 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
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184

Chapter 3 — Extended Commands
124
Intermec Terminal Emulator (ITE) Programmer’s Reference Manual
Example 1:
Set a writing filter to match the first two bytes of tags with their tag ID starting with
0211:
b
#J000000000040211#
Example 2:
Set a reading filter to match ISO/G1 tags that have DATA in position 18:
b
#J2000180004DATA#
Example 3:
Set a reading filter to match EPC Class 1 Gen 2 tags that have DATA at location 0 of
the user data bank (3) of the tag:
b
#J30000000004DATA#
VT/ANSI Data Stream Control Character Method
This method uses the control characters APC (0x9f) and ST(0x9c) to encapsulate the
extended command. Using the control characters method is faster since they are not
written to the display. You do not need to clear the screen or move the cursor
because the encapsulated command executes in the background. The format is
exactly the same as the conventional method within the APC and ST control
characters.
Example:
This takes Example 2 on the previous page and uses the control character method:
^9F#J0001800004DATA#^9C
Return Codes for the RFID (#J) Set Filter Command
The return code is a status sent to the host computer in the
\\x<cr>
format
indicating whether the extended command was successful. The return codes are
listed in the following chart.
Note:
For VT/ANSI data stream, send the # character to row 1, column 2 last to
ensure all command data is received before processing the extended command.
Return Codes for RFID (#J) Set Filter Command
Code
Description
0
Good status, transaction complete.
1
Invalid starting position, must be 0 to 65535.
2
Terminating ‘#’ character missing.
3
Error in AID code (3270 or 5250 only).
4
Invalid filter length, must be 0 to 255.
A
Bank not ‘0’ - ‘3’.
Z
Command not supported for this device.