Polling_interval property – MagTek USB MagnePrint Swipe Reader with Encryption User Manual

Page 36

Advertising
background image

USB MagnePrint Swipe Reader with Encryption

28


Example Set USB_SERIAL_NUM property Response (Hex):

Result Code Data Len

Data

00 00


Example Get USB_SERIAL_NUM property Request (Hex):

Cmd Num

Data Len

Prp ID

00 01

01

Example Get USB_SERIAL_NUM property Response (Hex):

Result Code Data Len

Prp Value

00

03

31 32 33


POLLING_INTERVAL PROPERTY

Property ID:

2

Property Type:

Byte

Length: 1

byte

Get Property:

Yes

Set Property:

Yes

Default Value:

1 for Keyboard Emulation interface type or 10 (0A hex) for HID interface type

Description:

The value is a byte that represents the devices polling interval for the Interrupt
In Endpoint. The value can be set in the range of 1 – 255 and has units of
milliseconds. The polling interval tells the host how often to poll the device
for card data packets. For example, if the polling interval is set to 10, the host
will poll the device for card data packets every 10ms. This property can be
used to speed up or slow down the time it takes to send card data to the host.
The trade-off is that speeding up the card data transfer rate increases the USB
bus bandwidth used by the device, and slowing down the card data transfer
rate decreases the USB bus bandwidth used by the device. The value of this
property will be sent to the host when the host requests the device’s USB
endpoint descriptor.

This property is stored in non-volatile memory, so it will persist when the unit
is power cycled. When this property is changed, the unit must be reset (see
Command Number 2) or power cycled to have these changes take effect. This
device must be unplugged for at least 30 seconds to properly power cycle it.

Example Set POLLING_INTERVAL property Request (Hex):

Cmd Num

Data Len

Prp ID

Prp Value

01 02

02

0A

Example Set POLLING_INTERVAL property Response (Hex):

Result Code Data Len

Data

00 00

Example Get POLLING_INTERVAL property Request (Hex):

Cmd Num

Data Len

Prp ID

00 01

02

Advertising