Getfile; Getkeyinfo; Sendfile - Magtek Universal SDK Programmer's Manual

Table of Contents

Advertisement

9 - IDeviceConfiguration
Return Value:
Returns a string value device information.
9.4

getFile

This function sets device configuration information.
int IDeviceConfiguration.getFile(
byte[] fileID,
IConfigurationCallback callback);
Parameter
fileID
callback
Return Value:
Returns 0 if the asynchronous configuration operation started. Otherwise, returns a non 0 value.
9.5

getKeyInfo

This function retrieves key information.
byte[]IDeviceConfiguration.getKeyInfo(
byte keyType,
byte[] data);
Parameter
keyType
data
Return Value:
Returns an array of bytes containing the key information.
9.6

sendFile

This function sends a file to the device.
int IDeviceConfiguration.sendFile(
byte[] fileID,
byte[] data,
IConfigurationCallback callback);
Parameter
fileID
data
callback
MagTek Universal SDK| For MMS Devices | Programmer's Manual ( Java )
Page 32
Byte array for the file ID. For DynaFlex, use a 4-byte file id.
Name of a class or structure that implements the IConfigurationCallback
Delegates events.
Type of key. For DynaFlex, use 0.
Key data to be sent to the device. For DynaFlex, this is the 2-byte key slot
number.
Byte array for the file ID. For DynaFlex, use a 4-byte file id.
File contents to be sent to the device.
Name of a class or structure that implements the IConfigurationCallback
Delegates events.
Description
Description
Description

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Universal SDK and is the answer not in the manual?

Questions and answers

Related Products for Magtek Universal SDK

Table of Contents