USB COMMUNICATIONS This device conforms to the USB specification revision 2.0. This device also conforms with the Human Interface Device (HID) class specification version 1.1. The device communicates to the host as a vendor defined HID device. The details about how the relay status and commands are structured into HID reports follow later in this section.
HID USAGES HID devices send data in reports. Elements of data in a report are identified by unique identifiers called usages. The structure of the device’s reports and the device’s capabilities are reported to the host in a report descriptor. The host usually gets the report descriptor only once, right after the device is plugged in.
0 Dev2 0=Pulsed The configbits parameter is also used in various other Ringdale products. This device uses the same parameter to maintain compatibility with software that can control multiple devices. Only bit 4 is significant in this device. Please note that Power To Open / Fail Closed and Power To Close / Fail Open are better achieved using the two relay wiring options, thus this value can be left at default 0x2D.
STATUS REPORT A status report is an 8 byte report received by the host on the Input interrupt endpoint whenever the device changes state. When the host requests an interrupt packet and no status change report is pending, the unit will respond with a NAK reply. A status report can be made pending by the host by using the operational command RequestStatus.
Page 8
RequestStatus cmnd = 0x04 parameters: none The device will respond to the next In interrupt pipe request with a status report.