MagTek IntelliStripe 320 99875168 User Manual

Page 34

Advertising
background image

IntelliStripe 320 Command Reference

28

Of course the operation requested may complete without encountering any abnormal situations at
all. When this happens the Result Code Success (00 Hex) is returned.

Criteria for treating abnormal situations may change from application to application. One way of
dealing with changing criteria is via Error/Warning Condition Templates. Each template is 4
bytes long. Each bit can be used to define a particular condition. If the bit is set in an Error
Conditions Template and the condition is encountered, it is considered an Error and the card is
deactivated with the Result Code Failure (01 Hex) being returned. Bits set in the Error
Conditions Template override bits set in a corresponding Warning Conditions Template. If the
bit is set in the Warning Conditions Template (and not in the corresponding Error Conditions
Template) and the condition is encountered, it is considered a Warning and the operation is
allowed to proceed, but a Result Code of Warning (02 Hex) will be returned when the operation
completes. If the bit is not set in either the Error or Warning Conditions Template and the
condition is encountered, the condition is Ignored, the operation is allowed to proceed, and a
Response Code of Success (00 Hex) is returned.

As conditions are encountered, they are recorded in an Accumulator bit map. Each bit in the
Accumulator bit map corresponds directly to the bits in the Error and Warning Conditions
Template. The Accumulator bit map does not distinguish between Errors, Warnings, and
Ignored conditions; it simply records the occurrence of the conditions. The Accumulator is part
of the CondRpt property.

Different operations use different Error/Warning Conditions Templates.

Advertising