public class RaspiSystemInfoProvider extends DefaultSystemInfoProvider implements SystemInfoProvider
Modifier and Type | Field and Description |
---|---|
static short |
RPI_MFG_EGOMAN |
static short |
RPI_MFG_EMBEST |
static short |
RPI_MFG_EMBEST2 |
static short |
RPI_MFG_SONY |
static short |
RPI_MFG_UNKNOWN |
static short |
RPI_MODEL_2B |
static short |
RPI_MODEL_3A_PLUS |
static short |
RPI_MODEL_3B |
static short |
RPI_MODEL_3B_PLUS |
static short |
RPI_MODEL_400 |
static short |
RPI_MODEL_4B |
static short |
RPI_MODEL_A |
static short |
RPI_MODEL_A_PLUS |
static short |
RPI_MODEL_ALPHA |
static short |
RPI_MODEL_B |
static short |
RPI_MODEL_B_PLUS |
static short |
RPI_MODEL_CM |
static short |
RPI_MODEL_CM3 |
static short |
RPI_MODEL_CM3_PLUS |
static short |
RPI_MODEL_CM4 |
static short |
RPI_MODEL_UNKNOWN |
static short |
RPI_MODEL_ZERO |
static short |
RPI_MODEL_ZERO_W |
static short |
RPI_PROC_BCM2835 |
static short |
RPI_PROC_BCM2836 |
static short |
RPI_PROC_BCM2837 |
static short |
RPI_RAM_1024 |
static short |
RPI_RAM_256 |
static short |
RPI_RAM_512 |
Constructor and Description |
---|
RaspiSystemInfoProvider() |
Modifier and Type | Method and Description |
---|---|
SystemInfo.BoardType |
getBoardType() |
long |
getClockFrequencyArm() |
long |
getClockFrequencyCore() |
long |
getClockFrequencyDPI() |
long |
getClockFrequencyEMMC() |
long |
getClockFrequencyH264() |
long |
getClockFrequencyHDMI() |
long |
getClockFrequencyISP() |
long |
getClockFrequencyPixel() |
long |
getClockFrequencyPWM() |
long |
getClockFrequencyUART() |
long |
getClockFrequencyV3D() |
long |
getClockFrequencyVEC() |
boolean |
getCodecH264Enabled() |
boolean |
getCodecMPG2Enabled() |
boolean |
getCodecWVC1Enabled() |
float |
getCpuTemperature() |
float |
getCpuVoltage() |
float |
getMemoryVoltageSDRam_C() |
float |
getMemoryVoltageSDRam_I() |
float |
getMemoryVoltageSDRam_P() |
String |
getModelName() |
String |
getOsFirmwareBuild() |
String |
getOsFirmwareDate() |
getBashVersionInfo, getBogoMIPS, getCpuArchitecture, getCpuFeatures, getCpuImplementer, getCpuInfo, getCpuPart, getCpuRevision, getCpuVariant, getHardware, getJavaRuntime, getJavaVendor, getJavaVendorUrl, getJavaVersion, getJavaVirtualMachine, getMemory, getMemoryBuffers, getMemoryCached, getMemoryFree, getMemoryShared, getMemoryTotal, getMemoryUsed, getOsArch, getOsName, getOsVersion, getProcessor, getReadElfTag, getRevision, getSerial, hasReadElfTag, isHardFloatAbi
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBogoMIPS, getCpuArchitecture, getCpuFeatures, getCpuImplementer, getCpuPart, getCpuRevision, getCpuVariant, getHardware, getJavaRuntime, getJavaVendor, getJavaVendorUrl, getJavaVersion, getJavaVirtualMachine, getMemoryBuffers, getMemoryCached, getMemoryFree, getMemoryShared, getMemoryTotal, getMemoryUsed, getOsArch, getOsName, getOsVersion, getProcessor, getRevision, getSerial, isHardFloatAbi
public static final short RPI_MODEL_A
public static final short RPI_MODEL_B
public static final short RPI_MODEL_A_PLUS
public static final short RPI_MODEL_B_PLUS
public static final short RPI_MODEL_2B
public static final short RPI_MODEL_ALPHA
public static final short RPI_MODEL_CM
public static final short RPI_MODEL_UNKNOWN
public static final short RPI_MODEL_3B
public static final short RPI_MODEL_ZERO
public static final short RPI_MODEL_CM3
public static final short RPI_MODEL_ZERO_W
public static final short RPI_MODEL_3B_PLUS
public static final short RPI_MODEL_3A_PLUS
public static final short RPI_MODEL_CM3_PLUS
public static final short RPI_MODEL_4B
public static final short RPI_MODEL_400
public static final short RPI_MODEL_CM4
public static final short RPI_RAM_256
public static final short RPI_RAM_512
public static final short RPI_RAM_1024
public static final short RPI_MFG_SONY
public static final short RPI_MFG_EGOMAN
public static final short RPI_MFG_EMBEST
public static final short RPI_MFG_UNKNOWN
public static final short RPI_MFG_EMBEST2
public static final short RPI_PROC_BCM2835
public static final short RPI_PROC_BCM2836
public static final short RPI_PROC_BCM2837
public RaspiSystemInfoProvider()
public String getModelName() throws IOException, InterruptedException, UnsupportedOperationException
getModelName
in interface SystemInfoProvider
getModelName
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public String getOsFirmwareBuild() throws IOException, InterruptedException, UnsupportedOperationException
getOsFirmwareBuild
in interface SystemInfoProvider
getOsFirmwareBuild
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public String getOsFirmwareDate() throws IOException, InterruptedException, ParseException, UnsupportedOperationException
getOsFirmwareDate
in interface SystemInfoProvider
getOsFirmwareDate
in class SystemInfoProviderBase
IOException
InterruptedException
ParseException
UnsupportedOperationException
public SystemInfo.BoardType getBoardType() throws IOException, InterruptedException, UnsupportedOperationException
getBoardType
in interface SystemInfoProvider
getBoardType
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public float getCpuTemperature() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException
getCpuTemperature
in interface SystemInfoProvider
getCpuTemperature
in class SystemInfoProviderBase
IOException
InterruptedException
NumberFormatException
UnsupportedOperationException
public float getCpuVoltage() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException
getCpuVoltage
in interface SystemInfoProvider
getCpuVoltage
in class SystemInfoProviderBase
IOException
InterruptedException
NumberFormatException
UnsupportedOperationException
public float getMemoryVoltageSDRam_C() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException
getMemoryVoltageSDRam_C
in interface SystemInfoProvider
getMemoryVoltageSDRam_C
in class SystemInfoProviderBase
IOException
InterruptedException
NumberFormatException
UnsupportedOperationException
public float getMemoryVoltageSDRam_I() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException
getMemoryVoltageSDRam_I
in interface SystemInfoProvider
getMemoryVoltageSDRam_I
in class SystemInfoProviderBase
IOException
InterruptedException
NumberFormatException
UnsupportedOperationException
public float getMemoryVoltageSDRam_P() throws IOException, InterruptedException, NumberFormatException, UnsupportedOperationException
getMemoryVoltageSDRam_P
in interface SystemInfoProvider
getMemoryVoltageSDRam_P
in class SystemInfoProviderBase
IOException
InterruptedException
NumberFormatException
UnsupportedOperationException
public boolean getCodecH264Enabled() throws IOException, InterruptedException, UnsupportedOperationException
getCodecH264Enabled
in interface SystemInfoProvider
getCodecH264Enabled
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public boolean getCodecMPG2Enabled() throws IOException, InterruptedException, UnsupportedOperationException
getCodecMPG2Enabled
in interface SystemInfoProvider
getCodecMPG2Enabled
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public boolean getCodecWVC1Enabled() throws IOException, InterruptedException, UnsupportedOperationException
getCodecWVC1Enabled
in interface SystemInfoProvider
getCodecWVC1Enabled
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public long getClockFrequencyArm() throws IOException, InterruptedException, UnsupportedOperationException
getClockFrequencyArm
in interface SystemInfoProvider
getClockFrequencyArm
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public long getClockFrequencyCore() throws IOException, InterruptedException, UnsupportedOperationException
getClockFrequencyCore
in interface SystemInfoProvider
getClockFrequencyCore
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public long getClockFrequencyH264() throws IOException, InterruptedException, UnsupportedOperationException
getClockFrequencyH264
in interface SystemInfoProvider
getClockFrequencyH264
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public long getClockFrequencyISP() throws IOException, InterruptedException, UnsupportedOperationException
getClockFrequencyISP
in interface SystemInfoProvider
getClockFrequencyISP
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public long getClockFrequencyV3D() throws IOException, InterruptedException, UnsupportedOperationException
getClockFrequencyV3D
in interface SystemInfoProvider
getClockFrequencyV3D
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public long getClockFrequencyUART() throws IOException, InterruptedException, UnsupportedOperationException
getClockFrequencyUART
in interface SystemInfoProvider
getClockFrequencyUART
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public long getClockFrequencyPWM() throws IOException, InterruptedException, UnsupportedOperationException
getClockFrequencyPWM
in interface SystemInfoProvider
getClockFrequencyPWM
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public long getClockFrequencyEMMC() throws IOException, InterruptedException, UnsupportedOperationException
getClockFrequencyEMMC
in interface SystemInfoProvider
getClockFrequencyEMMC
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public long getClockFrequencyPixel() throws IOException, InterruptedException, UnsupportedOperationException
getClockFrequencyPixel
in interface SystemInfoProvider
getClockFrequencyPixel
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public long getClockFrequencyVEC() throws IOException, InterruptedException, UnsupportedOperationException
getClockFrequencyVEC
in interface SystemInfoProvider
getClockFrequencyVEC
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public long getClockFrequencyHDMI() throws IOException, InterruptedException, UnsupportedOperationException
getClockFrequencyHDMI
in interface SystemInfoProvider
getClockFrequencyHDMI
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
public long getClockFrequencyDPI() throws IOException, InterruptedException, UnsupportedOperationException
getClockFrequencyDPI
in interface SystemInfoProvider
getClockFrequencyDPI
in class SystemInfoProviderBase
IOException
InterruptedException
UnsupportedOperationException
Copyright © 2012–2021 Pi4J. All rights reserved.