6 - IDeviceControl
MagTek Universal SDK| For MMS Devices | Programmer’s Manual ( Java )
Page 25
Parameter
Description
timeout
Timeout in seconds for the device to display the message.
Usage:
0x00
- Infinite timeout. Device leaves the requested message on the
display until the host initiates a change.
All other values - Timeout in seconds for the device to display the message.
Return Value:
Returns true if successful. Otherwise, returns false.
6.4
endSession
This function clears session data and returns the device to an idle state.
boolean IDeviceControl.endSession();
Return Value:
Returns true if successful. Otherwise, returns false.
6.5
getInput
This function sends a request for user input at the device. The response data will be returned in the event
boolean IDeviceControl.getInput(IData data);
Parameter
Description
data
Byte array or string data to send to the device.
Return Value:
Returns true if successful. Otherwise, returns false.
6.6
open
This function opens a connection to the device.
boolean IDeviceControl.open();
Return Value:
Returns true if successful. Otherwise, returns false.
6.7
playSound
This function instructs the device to play a tone.
boolean IDeviceControl.playSound(IData data);
Parameter
Description
data
Byte array or string data to send to the device.