Data field – MagTek IntelliStripe65 99875161 User Manual

Page 10

Advertising
background image

IntelliStripe 65 Command Reference

4

The following result codes are defined:

Value (Hex)

Definition

00-7F

This range is for generic result codes. A generic result code
has a common meaning for different device applications. The
following values are currently defined:
0 – success
1 – failure
2 – warning
3 – bad message header
4 – bad application id
5 – bad command id
6 – bad parameter
7 – timeout
8 – busy

80-FF

This range is for custom result codes. A custom result code
has a unique meaning for a particular device application.

Data Field


If there is additional data associated with the application message, it is contained in this field.
The length of this field is equal to the length of the message minus the length of the message
header.

When encrypted, the data field must be padded at the end so that its length is a multiple of 8
bytes. Any pad character can be used for padding because the padding is discarded after
decryption. The data field is encrypted using triple DES (TDEA) and the cipher-block chaining
(CBC) mode with an initialization vector (IV) set to all zeros. Triple DES is used for 16-byte
keys. Single DES is used for 8-byte keys.

Advertising