Getoperationstatus, Setconfigurationparams – MagTek Audio Reader User Manual

Page 23

Advertising
background image

17

getOperationStatus

Retrieves the operation status.

- (

NSString *

) getOperationStatus


Parameters

Return Value

2-byte bit string in hex. The bits correspond to:

Bit 0 = DUKPT Keys exhausted (1=exhausted, 0=keys available)

Bit 1 = Initial DUKPT key Injected, always set to One (Primary
DUKPT Key)

Bit 2 = Encryption Enabled

Bit 3 = Reserved (always set to zero)
Bit 4 = Reserved (always set to zero)

Bit 5 = Reserved (always set to zero)

Bit 6 = Reserved (always set to zero)
Bit 7 = Reserved (always set to zero)

Bit 8 = Reserved (always set to zero)

Bit 9 = Initial DUKPT key injected (Secondary DUKPT Key)
Bit 10 = DUKPT Key used for encryption,

0=Primary,

1=Secondary

Bit 11 = DUKPT Key Variant used to encrypt data,

0=PIN Variant,

1=Data Variant/Bidirectional

Bits 12–15 = Unassigned (always set to Zero)


setConfigurationParams

Sets configuration parameters

- (void) setConfigurationParams:(NSString *)pData


Parameters

pData

PAN_MOD10_CHECKDIGIT = TRUE/FALSE (default is TRUE)

Advertising