USB Swipe Reader
72
COMMANDS
Most host applications do not need to send commands to the device. Most host applications
only need to obtain card data from the device as described previously in this section. This
section of the manual can be ignored by anyone who does not need to send commands to the
device.
Command requests and responses are sent to and received from the device using feature reports.
Command requests are sent to the device using the HID class specific request Set_Report. The
response to a command is retrieved from the device using the HID class specific request
Get_Report. These requests are sent over the default control pipe. When a command request is
sent, the device will Nak the Status stage of the Set_Report request until the command is
completed. This insures that as soon as the Set_Report request is completed, the Get_Report
request can be sent to get the command response. The usage ID for the command message was
shown previously in the Usage Table.
The following table shows how the feature report is structured for command requests:
Offset Field
Name
0 Command
Number
1 Data
Length
2 – 23
Data
The following table shows how the feature report is structured for command responses.
Offset Field
Name
0 Result
Code
1 Data
Length
2 – 23
Data
COMMAND NUMBER
This one byte field contains the value of the requested command number. The following table
lists all the existing commands.
Value Command
Number Description
0
GET_PROPERTY
Sets a property in the device
1
SET_PROPERTY
Gets a property from the device
DATA LENGTH
This one byte field contains the length of the valid data contained in the Data field.
DATA
This multi-byte field contains command data if any. Note that the length of this field is fixed at
22 bytes. Valid data should be placed in the field starting at offset 2. Any remaining data after
the valid data should be set to zero. This entire field must always be set even if there is no valid
data. The HID specification requires that Reports be fixed in length. Command data may vary
in length. Therefore, the Report should be filled with zeros after the valid data.
Содержание Entuitive 1525L Series
Страница 8: ...2 5 Side View Base Bottom View User Controls ...
Страница 27: ...2 24 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e ...
Страница 31: ...3 28 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e ...
Страница 44: ...C 41 See Detail A Detail A ...
Страница 45: ...C 42 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e ...
Страница 48: ...45 N10051 ...
Страница 49: ...46 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e ...
Страница 59: ...56 Figure 1 1 USB Swipe Reader ...
Страница 63: ...USB Swipe Reader 60 ...
Страница 67: ...USB Swipe Reader 64 ...
Страница 69: ...USB Swipe Reader 66 ...
Страница 89: ...86 Figure 1 1 MagTek Devices and Device Drivers for Windows MTD MagTek Device Drivers for Windows ...
Страница 117: ...MagTek Device Drivers for Windows 114 ...
Страница 127: ...MagTek Device Drivers for Windows 124 ...
Страница 141: ...MagTek Device Drivers for Windows 138 ...
Страница 163: ...MagTek Device Drivers for Windows 160 ...
Страница 165: ...MagTek Device Drivers for Windows 162 ...
Страница 167: ...MagTek Device Drivers for Windows 164 ...