| Constructor and Description |
|---|
ArdulinkProtocol2() |
| Modifier and Type | Method and Description |
|---|---|
FromDeviceMessage |
fromDevice(byte[] bytes) |
java.lang.String |
getName() |
byte[] |
getSeparator() |
static Protocol |
instance() |
byte[] |
toDevice(ToDeviceMessageCustom custom) |
byte[] |
toDevice(ToDeviceMessageKeyPress keyPress) |
byte[] |
toDevice(ToDeviceMessageNoTone noTone) |
byte[] |
toDevice(ToDeviceMessagePinStateChange pinStateChange) |
byte[] |
toDevice(ToDeviceMessageStartListening startListening) |
byte[] |
toDevice(ToDeviceMessageStopListening stopListening) |
byte[] |
toDevice(ToDeviceMessageTone tone) |
public static Protocol instance()
public byte[] getSeparator()
getSeparator in interface Protocolpublic byte[] toDevice(ToDeviceMessageStartListening startListening)
public byte[] toDevice(ToDeviceMessageStopListening stopListening)
public byte[] toDevice(ToDeviceMessagePinStateChange pinStateChange)
public byte[] toDevice(ToDeviceMessageKeyPress keyPress)
public byte[] toDevice(ToDeviceMessageTone tone)
public byte[] toDevice(ToDeviceMessageNoTone noTone)
public byte[] toDevice(ToDeviceMessageCustom custom)
public FromDeviceMessage fromDevice(byte[] bytes)
fromDevice in interface ProtocolCopyright © 2016. All rights reserved.