Getmagneprintstatus, Getdeviceserial – MagTek Audio Reader User Manual

Page 14

Advertising
background image

8

getMagnePrintStatus

Supported on uDynamo only

- (

NSString

*) getMagnePrintStatus


Parameters

Return Value

Empty String.

This Binary field represents 32 bits of MagnePrint status information. Each character represents
4 bits (hexadecimal notation). For example, suppose the characters are: “A1050000”:

Nibble

1

2

3

4

5

6

7

8

Value

A

1

0

5

0

0

0

0

Bit

7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 23 22 21 20 19 18 17 16 31 30 29 28 27 26 25 24

Value

1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Usage* R R R R R R R M R R R R R R R R 0 0 D 0 F L N S 0 0 0 0 0 0 0 0

* Usage Legend:

• D = Direction

• F = Too Fast

• L = Too Slow

• M = MagnePrint capable

• N = Too Noisy

• R = Revision


This four-byte field contains the MagnePrint status. The MagnePrint status is in little endian
byte order. Byte 1 is the least significant byte. Byte 1 LSB is status bit 0. Byte 4 MSB is status
bit 31. MagnePrint status is defined as follows:

Bit 0

= This is a MagnePrint-capable product (usage M)

Bits 1-15

= Product revision & mode (usage R)

Bit 16

= STATUS-only state (usage S)

Bit 17

= Noise too high or “move me” away from the noise source (used only in

STATUS) (usage N)

Bit 18

= Swipe too slow (usage L)

Bit 19

= Swipe too fast (usage F)

Bit 20

= Unassigned (always set to Zero)

Bit 21

= Actual Card Swipe Direction (0 = Forward, 1 = Reverse) (usage D)

Bits 22-31 = Unassigned (always set to Zero)


If the Enable/Disable MagnePrint property is set to disable MagnePrint, this field will not be
sent.

getDeviceSerial

Retrieve device serial number. This 16-byte ASCII field contains the device serial number. The
device serial number is a NUL (zero) terminated string. So the maximum length of the device
serial number, not including the null terminator, is 15 bytes. This device serial number can also

Advertising