Sendimage; Sendsecurefile; Setconfiginfo - Magtek Universal SDK Programmer's Manual

Table of Contents

Advertisement

9 - IDeviceConfiguration
Return Value:
Returns 0 if the asynchronous update operation started. Otherwise, returns a non 0 value.
9.7

sendImage

This function sends an image to the device.
int IDeviceConfiguration.sendImage(
byte imageID,
byte[] data,
IConfigurationCallback callback);
Parameter
imageID
data
callback
Return Value:
Returns 0 if the asynchronous update operation started. Otherwise, returns a non 0 value.
9.8

sendSecureFile

This function sends a file to the device using a secure command structure.
int IDeviceConfiguration.sendSecureFile(
byte[] fileID,
byte[] data,
IConfigurationCallback callback);
Parameter
fileID
data
callback
Return Value:
Returns 0 if the asynchronous update operation started. Otherwise, returns a non 0 value.
9.9

setConfigInfo

This function sets device configuration information. For an example, see appendix 12.9B.6
IDeviceConfiguration Walk Through.
int IDeviceConfiguration.setConfigInfo(
byte configType,
byte[] data,
IConfigurationCallback callback);
MagTek Universal SDK| For MMS Devices | Programmer's Manual ( Java )
Page 33
Value for the image ID.
For DynaFlex, use:
1, 2, 3, or 4
File contents to be sent to the device.
Name of a class or structure that implements the IConfigurationCallback
Delegates events.
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

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