Msr direction property – MagTek P-SERIES USB User Manual

Page 56

Advertising
background image

P-Series USB Insertion Reader

48

MSR DIRECTION PROPERTY

Property ID:

3 (0x03)

Property Type:

Byte

Length:

1 byte

Get Property:

Yes

Set Property:

Yes

Default Value:

2 (Withdrawal)

Description:

This value is a byte that represents the devices magnetic stripe read direction.
The device will output card data when a card is swiped in the direction
indicated by this property. The value can be set to 1 for insert, 2 for
withdrawal or 3 for both directions. This property is stored in non-volatile
EEPROM memory so it will not change when the unit is power cycled. When
this property is changed, the unit must be power cycled to have these changes
take effect. If a value other than the default value is desired, it can be set by
the factory upon request.


Note that this reader reads better when a card is removed from it than when a
card is inserted into it.


Examples follow:

Example Set MSR Direction property Request (Hex):

Cmd Num

Data Len

Prp ID

Prp Value

01

02

03

02


Example Set MSR Direction property Response (Hex):

Result Code Data Len

Data

00

00


Example Get MSR Direction property Request (Hex):

Cmd Num

Data Len

Prp ID

00

01

03


Example Get MSR Direction property Response (Hex):

Result Code Data Len

Prp Value

00

01

02

Advertising