6 - IDeviceControl
MagTek Universal SDK| For MMS Devices | Programmer’s Manual ( Java )
Page 23
6
IDeviceControl
Create an instance of the
, then use the function calls described in this chapter.
6.1
close
This function closes the connection to the device.
boolean IDeviceControl.close();
Return Value:
Returns true if successful. Otherwise, returns false.
6.2
deviceReset
This function resets the device. This is equivalent to a power reset. After the reset, connection to the
device will need to be re-established.
boolean IDeviceControl.deviceReset();
Return Value:
Returns true if successful. Otherwise, returns false.
6.3
displayMessage
This function sets a show message on the device’s display.
boolean IDeviceControl.displayMessage(byte messageID, byte timeout);