public interface ICl103101Service
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE_NAME
Helper definition.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isConnectedToModule()
finds out if the target platform is connected to the HED module
|
void |
registerListener(ICL103101MessageListener listener)
used by classes interesting in receiving HED messages to register with this
service so their callback method can be called
|
void |
resetSerialConnection()
resets the serial connection to the HED device
|
boolean |
sendCommand(int functionCode,
byte[] payload)
sends a command to the HED device with a specified function code and payload
|
boolean |
sendCommand(java.lang.String command)
sends a command to the HED CL103101 device
|
static final java.lang.String SERVICE_NAME
void registerListener(ICL103101MessageListener listener)
listener
- The @ICL103101MessageListener to registerboolean sendCommand(java.lang.String command)
command
- The command to sendboolean sendCommand(int functionCode, byte[] payload)
functionCode
- The function code to sendpayload
- The payload to sendboolean isConnectedToModule()
void resetSerialConnection()
Copyright © 2009 Eurotech Inc. All rights reserved.