Magneprint status, Magneprint data length, Magneprint absolute data length – MagTek MagneSafe V5 User Manual

Page 21

Advertising
background image

Section 2. Communications

13

MagnePrint Status

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.

MagnePrint Data Length

This one-byte value indicates the number of bytes in the Encrypted MagnePrint Data field. The
field is always a multiple of 8 bytes in length. This value will be zero if there was no
MagnePrint data. Once the encrypted data is decrypted, there may be fewer bytes of decoded
MagnePrint data than indicated by this field. The number of bytes of decoded MagnePrint data
is indicated by the MagnePrint Absolute Data Length field.

MagnePrint Absolute Data Length

This one-byte value indicates the number of useable bytes in the Encrypted MagnePrint Data
field after decryption.

Advertising