Sendcommandtodevice, Getcapmsr, Getcaptracks – MagTek Audio Reader User Manual

Page 18: Getcapmagstripeencryption

Advertising
background image

12

sendCommandToDevice

Send command to device.

- (

Void

*) sendCommandToDevice: (

NSString

*)pData


Parameters

Command string.

Return Value

Send command to device. Please refer to Section 2 for command

list.

getCapMSR

Retrieve MSR Capability. Returned when Discovery Command is sent.

- (

NSString

*) getCapMSR


Parameters

Return Value

Return MSR Capability
0 = No MSR,

1 = MSR


getCapTracks

Retrieve Tracks Capability. Returned when Discovery Command is sent.

- (

NSString

*) getCapTracks

Parameters


Return Value

Return Tracks Capability
Bit 0 = 1 / Track 1 supported,

Bit 1 = 1 / Track 2 supported,

Bit 2 = 1 / Track 3 supported,
all other bits 0.

getCapMagStripeEncryption

Retrieve MagStripe Encryption Capability. Returned when Discovery Command is sent.

- (

NSString

*) getCapMagStripeEncryption

Parameters

Return Value

Return MagStripe Encryption Capability

0 = No Encryption,
1 = TDES DUKPT / PIN Variant,

other values TBD

Advertising