Class VersionInfo

java.lang.Object
uk.ac.manchester.spinnaker.messages.model.VersionInfo

public final class VersionInfo
extends Object
Decodes SC&MP/SARK version information as returned by the SVER command.
  • Field Details

    • buildDate

      public final int buildDate
      The build date of the software, in seconds since 1st January 1970.
    • hardware

      public final String hardware
      The hardware being run on.
    • name

      public final String name
      The name of the software.
    • physicalCPUID

      public final int physicalCPUID
      The 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

      public final Version versionNumber
      The version number of the software.
    • versionString

      public final String versionString
      The version information as text.
    • location

      public final SDPLocation location
      The location of the core where the information was obtained.
  • Constructor Details

    • VersionInfo

      public VersionInfo​(ByteBuffer buffer, boolean isBMP)
      Parameters:
      buffer - buffer holding an SCP packet containing version information
      isBMP - 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