Max packet size property (hid) – MagTek MagneSafe V5 User Manual

Page 40

Advertising
background image

MagneSafe V5

32

o

The PAN will be masked according to the rules of this property

(the Send Clear AAMVA Card Data property is ignored)

o

The character used for masking the PAN will be ‘0’

o

All data after the PAN will be sent without masking

The sixth byte specifies whether the Mod 10 Correction should be applied to
the DL/ID#. “Y” means Yes, the Mod 10 Correction will be applied. “N”
means No, the Mod 10 will not be applied. (This option is only effective if
the masking character is “0”.)


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.


Max Packet Size Property (HID)

Property ID:

0x0A

Property Type:

Byte

Length:

1 byte

Get Property:

Yes

Set Property:

Yes

Default Value:

0x08

Description:

The value is a byte that represents the reader’s maximum packet size for the
Interrupt In Endpoint. The value can be set in the range of 1 – 64 and has
units of bytes. The maximum packet size tells the host the maximum size of
the Interrupt In Endpoint packets. For example, if the maximum packet size is
set to 8, the reader will send HID reports in multiple packets of 8 bytes each
or less for the last packet of the report. This property can be used to speed up
or slow down the time it takes to send card data to the host. Larger packet
sizes speed up communications and smaller packet sizes slow down
communications. The trade-off is that speeding up the card data transfer rate
increases the USB bus bandwidth used by the reader, and slowing down the
card data transfer rate decreases the USB bus bandwidth used by the reader.
The value of this property will be sent to the host when the host requests the
reader’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
reader must be unplugged for at least 30 seconds to properly power cycle it.


Example Set Max Packet Size property Request (Hex):

Cmd Num

Data Len

Prp ID

Prp Value

01

02

0A

08

Advertising