6 - IDeviceControl
Return Value:
Returns true if successful. Otherwise, returns false.
6.8
send
This function sends a command to the device. The response will be returned to the event OnEvent.
boolean IDeviceControl.send(IData data);
Parameter
data
Return Value:
Returns true if successful. Otherwise, returns false.
6.9
sendExtendedCommand
This function sends a command to the device. The response will be returned to the event OnEvent.
boolean IDeviceControl.sendExtendedCommand(IData data);
Parameter
data
Return Value:
Returns true if successful. Otherwise, returns false.
6.10 sendSync
This function sends a synchronous command to the device. The response from the device will not be
returned to the event OnEvent. The response is returned as IResult which contains the StatusCode and
IData.
IResult IDeviceControl.sendSync(IData data);
Parameter
data
Return Value:
Returns IResult.
public interface IResult
{
StatusCode Status;
IData Data;
}
public class Result implements IResult
{
private StatusCode mStatus;
private IData mData = null;
public Result(StatusCode status)
{
MagTek Universal SDK| For MMS Devices | Programmer's Manual ( Java )
Page 26
Byte array or string data to send to the device.
Byte array or string data to send to the device.
Byte array or string data to send to the device.
Description
Description
Description
Need help?
Do you have a question about the Universal SDK and is the answer not in the manual?
Questions and answers