Package | Description |
---|---|
org.avineas.fins |
Basic interfaces and related classes for the Omron FINS protocol implementation.
|
org.avineas.fins.payload |
Basic (not complete) command and response implementations.
|
Modifier and Type | Method and Description |
---|---|
Response |
Unit.handleCommand(Command command)
Handle a packet/command received from another FINS unit.
|
Response |
Transmitter.sendPacket(Address to,
Command command)
Send a command to an other FINS unit and receive the response.
|
Modifier and Type | Class and Description |
---|---|
class |
IOCommand
Command that represents IO commands, normally write or read commands.
|
class |
ReadCommand
Command that represents a read command, meaning: the request to
fetch data starting from a specific address.
|
class |
WriteCommand
Command that represents a memory write command (normally
memory area write)
|
Constructor and Description |
---|
ReadResponse(Command command,
byte[] contents)
Constructor from a command and a specific response code/contents.
|
ReadResponse(Command command,
int[] values)
Create a read response from a set of values.
|
Response(Command command,
int responseCode)
Convience constructor that creates a simple response
|
Response(Command command,
int responseCode,
byte[] contents)
Constructor that creates a response from a command with a specific
response code and data.
|