Decode enable property – MagTek USB KB SURESWIPE & USB KB SWIPE READER User Manual

Page 43

Advertising
background image

Section 4. USB Communications

35

Note

This property only applies to swipe readers, not the SureSwipe readers.


DECODE ENABLE PROPERTY

Property ID:

0x1A

Property Type:

Byte

Length:

1 byte

Get Property:

Yes

Set Property:

Yes

Default Value:

0x00

Description:

This property is defined as follows:

Bit

Position

7

6

5

4

3

2

1

0

Decode

Type

Reserved Reserved

Reserved Reserved Reserved Reserved

Reserved JIS Type 2

When a decode type bit is set to 1 (true), the decode type represented by that bit is
enabled. When a decode type bit is set to 0 (false), the decode type represented
by that bit is disabled. The reserved decode type bits should always be set to zero.

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.

Note

The JIS type 2 decoding option was not added until firmware with software ID
21042812K01 was release in October 2008. Some applications may not work
well with the JIS type 2 format because this format allows ASCII characters in the
non-printable range (0x00 – 0x1F and 0x7F).

This property only applies to swipe readers, not the SureSwipe readers.


Example Set Decode Enable property Request (Hex):

Cmd Num

Data Len

Prp ID

Prp Value

01

02

1A

01 (enable JIS Type 2
decode type)

Example Set Decode Enable property Response (Hex):

Result Code Data Len

Data

00

00

Example Get Decode Enable property Request (Hex):

Cmd Num

Data Len

Prp ID

00

01

1A


Example Get Decode Enable property Response (Hex):

Result Code Data Len

Prp Value

00

01

01

Advertising