![Magtek Universal SDK Скачать руководство пользователя страница 34](http://html1.mh-extra.com/html/magtek/universal-sdk/universal-sdk_programmers-manual_3704653034.webp)
9 - IDeviceConfiguration
MagTek Universal SDK| For MMS Devices | Programmer’s Manual ( Java )
Page 34
Parameter
Description
configType
Type of configuration. For DynaFlex, this is the first number of the
Property OID.
data
Configuration data to be sent to the device. For DynaFlex, this is the
remainder of the constructed OID and value. For constructing the OID see
D998200383 DynaFlex Family Programmer’s Manual (COMMANDS)
callback
Name of a class or structure that implements the
events.
Return Value:
Returns 0 if the asynchronous configuration operation started. Otherwise, returns a non 0 value.
9.10
setDisplayImage
This function sets which image is to be displayed when the device is idle. The device requires a reset for
the setting to take effect.
int IDeviceConfiguration.setDisplayImage(byte imageID);
Parameter
Description
imageID
Value for the image ID.
For DynaFlex, use:
0, 1, 2, 3, or 4
Use
0
to set the display image back to the “Welcome” screen.
Return Value:
Returns 0 if the asynchronous configuration operation started. Otherwise, returns a non 0 value.
9.11
updateFirmware
This function updates the device firmware. Progress of the update is reported in the event
int IDeviceConfiguration.updateFirmware(
int firmwareType,
byte[] data,
IConfigurationCallback callback);
Parameter
Description
firmwareType
Type of firmware. For DynaFlex, use:
1
-
Main App
data
Firmware image to be sent to the device.
callback
Name of a class or structure that implements the
events.
Return Value:
Returns 0 if the asynchronous update operation started. Otherwise, returns a non 0 value.