public class VersionInformationCommand extends AsciiSelfResponderCommandBase
LibraryCommandId
Constructor and Description |
---|
VersionInformationCommand()
Initializes a new instance of the VersionInformationCommand class
|
Modifier and Type | Method and Description |
---|---|
void |
clearLastResponse()
Clears the response ready to receive a new one
|
java.lang.String |
getAntennaSerialNumber() |
java.lang.String |
getAsciiProtocol() |
java.lang.String |
getBluetoothAddress() |
java.lang.String |
getBluetoothVersion() |
java.lang.String |
getBootloaderVersion() |
java.lang.String |
getFirmwareVersion() |
java.lang.String |
getManufacturer() |
java.lang.String |
getRadioBootloaderVersion() |
java.lang.String |
getRadioFirmwareVersion() |
java.lang.String |
getRadioSerialNumber() |
java.lang.String |
getSerialNumber() |
java.lang.String |
getUhfApiVersion() |
protected boolean |
processReceivedLine(java.lang.String fullLine,
java.lang.String header,
java.lang.String value,
boolean moreAvailable)
Each correctly terminated line from the device is passed to this method for processing
|
void |
setBluetoothAddress(java.lang.String bluetoothAddress) |
void |
setBluetoothVersion(java.lang.String bluetoothVersion) |
void |
setUhfApiVersion(java.lang.String value) |
static VersionInformationCommand |
synchronousCommand()
Returns a new instance of the VersionInformationCommand class that will execute synchronously (as its own responder)
|
buildCommandLine, getMaxSynchronousWaitTime, getSynchronousCommandResponder, setMaxSynchronousWaitTime, setSynchronousCommandResponder
captureNonLibraryResponses, setCaptureNonLibraryResponses
getCommandLine, getCommandName, getResponseLifecycleDelegate, getResponseStarted, isResponseFinished, parseParameters, processReceivedLine, responseDidFinish, responseDidReceiveParameter, responseDidStart, setCommandName, setResponseLifecycleDelegate, setResponseStarted, splitParameters
appendToMessages, appendToParameters, appendToResponse, getErrorCode, getMessages, getParameters, getResponse, isSuccessful, setErrorCode, setIsSuccessful, setResponse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCommandLine, getCommandName
public VersionInformationCommand()
public final java.lang.String getManufacturer()
public final java.lang.String getSerialNumber()
public final java.lang.String getFirmwareVersion()
public final java.lang.String getBootloaderVersion()
public final java.lang.String getRadioSerialNumber()
public final java.lang.String getRadioFirmwareVersion()
public final java.lang.String getRadioBootloaderVersion()
public final java.lang.String getAntennaSerialNumber()
public final java.lang.String getAsciiProtocol()
public final java.lang.String getBluetoothVersion()
public final void setBluetoothVersion(java.lang.String bluetoothVersion)
public final java.lang.String getBluetoothAddress()
public final void setBluetoothAddress(java.lang.String bluetoothAddress)
public final java.lang.String getUhfApiVersion()
public final void setUhfApiVersion(java.lang.String value)
public static VersionInformationCommand synchronousCommand()
public void clearLastResponse()
clearLastResponse
in interface IAsciiCommandResponder
clearLastResponse
in class AsciiCommandResponderBase
protected boolean processReceivedLine(java.lang.String fullLine, java.lang.String header, java.lang.String value, boolean moreAvailable) throws java.lang.Exception
processReceivedLine
in class AsciiCommandLibraryResponderBase
fullLine
- The line to be processedheader
- The response line header excluding the colon e.g. 'CS' for a command started responsevalue
- The response line following the colon e.g. '.iv'moreAvailable
- When true indicates there are additional lines to be processed (and will also be passed to this method)java.lang.Exception