Class VersionInfo
java.lang.Object
uk.ac.manchester.spinnaker.messages.model.VersionInfo
Decodes SC&MP/SARK version information as returned by the SVER command.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int
The build date of the software, in seconds since 1st January 1970.final String
The hardware being run on.final SDPLocation
The location of the core where the information was obtained.final String
The name of the software.final int
The physical CPU ID.final Version
The version number of the software.final String
The version information as text. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
buildDate
public final int buildDateThe build date of the software, in seconds since 1st January 1970. -
hardware
The hardware being run on. -
name
The name of the software. -
physicalCPUID
public final int physicalCPUIDThe physical CPU ID. Note that this is only really useful for debugging, as core IDs are remapped by SCAMP so that SCAMP is always running on virtual core zero. -
versionNumber
The version number of the software. -
versionString
The version information as text. -
location
The location of the core where the information was obtained.
-
-
Constructor Details
-
VersionInfo
- Parameters:
buffer
- buffer holding an SCP packet containing version informationisBMP
- Are we really processing the result of a request to get a BMP's version.- Throws:
IllegalArgumentException
- If the buffer contains an unsupported format of data
-
-
Method Details