LibMuse 6.0.2
com.choosemuse.libmuse.MuseVersion Class Referenceabstract

Public Member Functions

abstract String getRunningState ()
 
abstract String getHardwareVersion ()
 
abstract String getBspVersion ()
 
abstract String getFirmwareVersion ()
 
abstract String getBootloaderVersion ()
 
abstract String getFirmwareBuildNumber ()
 
abstract String getFirmwareType ()
 
abstract int getProtocolVersion ()
 

Static Public Member Functions

static native MuseVersion makeDefaultVersion ()
 
static native MuseVersion makeVersion (String json)
 

Detailed Description

Provides access to Muse firmware and hardware versions.

You must connect to the headband at least once to before this information is available. Once you have connected once the information will remain available, even after you disconnect.

Member Function Documentation

§ getBootloaderVersion()

abstract String com.choosemuse.libmuse.MuseVersion.getBootloaderVersion ( )
abstract

Provides access to Muse bootloader version.

Returns
The bootloader version.

§ getBspVersion()

abstract String com.choosemuse.libmuse.MuseVersion.getBspVersion ( )
abstract

BSP (board support package) version. This is only available on Muse 2016 ( MU_02 ).

Returns
The BSP version.

§ getFirmwareBuildNumber()

abstract String com.choosemuse.libmuse.MuseVersion.getFirmwareBuildNumber ( )
abstract

Provides access to Muse firmware build number. This is only available on Muse 2014 ( MU_01 ).

Returns
The firmware build number.

§ getFirmwareType()

abstract String com.choosemuse.libmuse.MuseVersion.getFirmwareType ( )
abstract

Type of firmware. One of consumer, research or test.

Returns
The type of firmware.

§ getFirmwareVersion()

abstract String com.choosemuse.libmuse.MuseVersion.getFirmwareVersion ( )
abstract

Provides access to the firmware version.

Returns
The firmware version.

§ getHardwareVersion()

abstract String com.choosemuse.libmuse.MuseVersion.getHardwareVersion ( )
abstract

Provides access to hardware version.

Returns
The hardware version.

§ getProtocolVersion()

abstract int com.choosemuse.libmuse.MuseVersion.getProtocolVersion ( )
abstract

Provides access to Muse communication protocol version.

Returns
The communication protocol version.

§ getRunningState()

abstract String com.choosemuse.libmuse.MuseVersion.getRunningState ( )
abstract

Provides access to the running state.

  • For Muse 2014 ( MU_01 ) this is one of app, bootloader or test.
  • For Muse 2016 ( MU_02 ) this is one of headband or bootloader.
    Returns
    The current running state of the headband.

§ makeDefaultVersion()

static native MuseVersion com.choosemuse.libmuse.MuseVersion.makeDefaultVersion ( )
static

Internal use only. Create a default version.

§ makeVersion()

static native MuseVersion com.choosemuse.libmuse.MuseVersion.makeVersion ( String  json)
static

Internal use only. Create version from JSON string Muse 2016 ( MU_02 ) only.


The documentation for this class was generated from the following file: