beautypg.com

16 report 0x0f – login/authenticate, 17 report 0x0f – logout, 18 report 0x10 – send big block data to device – MagTek DynaPro Mini Programmer's99875629 User Manual

Page 43: Report 0x0f – login/authenticate, Report 0x0f – logout, Report 0x10 – send big block data to device, 3 - command set

background image

3 - Command Set

DynaPro Mini| PIN Encryption Device | Programmer’s Reference (Commands)


Page 43

3.4.16 Report 0x0F – Login/Authenticate

This command logs in the device.

The following steps are required before issuing this command:

1) Host requests an authentication token from the device (using Report 0x0B – Get Challenge)

2) Host decrypts the received token with the authentication key

3) Host transforms token and encrypts it with the authentication key

In the following cases, authentication will fail and an error will be reported in ACKSTS of Report 0x01 –
Response ACK
:

System Error (e.g., a system error or tamper has been detected) (0x80)

No authentication key is found in the device (0x85)

Authentication is locked out (occurs after 3 authentication failures) (0x87)

Host receives an incorrect authentication token (e.g., the decrypted random token or device serial

number doesn’t match the device’s current values) (0x89)

Authentication challenge token times out (i.e. is not used within 5 minutes) (0x8A)

Table 3-19 - Usage Table for Report 0x0F (For Login/Authenticate)

Bit

7

6

5

4

3

2

1

0

Byte 0

0x0F

Byte 1

0x01 = Login/Authenticate

Byte
2..9

Encrypted random token and device serial number (8 bytes).
See Report 0x0B – Get Challenge.

3.4.17 Report 0x0F – Logout

This command logs out the device.

Table 3-20 - Usage Table for Report 0x0F (For Logout)

Bit

7

6

5

4

3

2

1

0

Byte 0

0x0F

Byte 1

0x00 = Logout

Byte 2..9

reserved

3.4.18 Report 0x10 – Send Big Block Data to Device

This command is used to provide data for several general commands and input reports (listed in Table
3-21
)
in 60-byte increments. If the data size is greater than 60 bytes, the data must be split into several
smaller blocks, each containing a maximum of 60 bytes. Two data formats are used in connection with
this command: The first packet (block 0, see Table 3-21) signals the start of a new data set and specifies
the complete length of the data; subsequent packets (blocks 1 through n, see Table 3-22) transmit the
actual data to a predefined buffer within the device.

An error will be reported in ACKSTS of Report 0x01 – Response ACK in the following cases:

The parameters in any block 1 through n data packet don’t match (or don’t follow) the previous data

packet’s parameters (0x82)