2 - Connection Types
DynaPro Mini| PIN Encryption Device | Programmer’s Manual (Commands)
Page 15 of 128 (
D99875629-43
)
The host uses HID
Set
Feature Reports to send commands to the device, and HID
Get
Feature Reports to
retrieve data or responses from the device when synchronous response is appropriate. The general
sequence for using feature reports to send a command and receive a response is as follows:
1)
Send the feature report (command), which could be either a Get or Set type.
2)
for acknowledgement, which includes the command number
being acknowledged and a one-byte status indicating whether the device accepted the command.
3)
For some commands, the host would then call a Get feature report to read the device’s response.
4)
For some commands, the host would instead expect the device to send an asynchronous response via
an HID Input Report using a USB Interrupt IN transaction when the command finishes executing.
2.1.1.2
About the Report Descriptor
The list of the device’s available reports and their structure is sent to the host in a
report descriptor
,
usually just after the device is connected to the USB port. Generally the details of the report descriptor
are abstracted by the developer’s HID API; however, should it become necessary to examine a report
descriptor byte-by-byte, a full inventory of the report descriptor for these devices is provided in
, which also indicates whether each report is a Get type or Set type or both. The reports themselves
are fully documented in the sections that follow.
Table 2-1 - USB HID Report Descriptor
Item
Value (Hex)
Usage Page
06 20 FF
Usage
09 01
Collection
A1 01
Report Size (8)
75 08
Logical Minimum (0)
15 00
Logical Maximum (255)
26 FF 00
Report ID (0x01) - Get
85 01
Usage (Response ACK)
09 01
Report Count (4)
95 04
Feature (Data,Var,Abs,NWrp,Lin,Pref,NNul,Nvol,Buf)
B2 02 01
Report ID (0x02) - Set
85 02
Usage (End Session)
09 02
Report Count (1)
95 01
Feature (Data,Var,Abs,NWrp,Lin,Pref,Nnul,Nvol,Buf)
B2 02 01
Report ID (0x03) - Set
85 03
Usage (Request Swipe Card)
09 03
Report Count (3)
95 03
Feature (Data,Var,Abs,NWrp,Lin,Pref,Nnul,Nvol,Buf)
B2 02 01
Report ID (0x04) - Set
85 04
Usage (Request PIN Entry)
09 04