BioRadio SDK - Java Android  1.1
com.glneurotech.devices.bioradio.configuration.MemsChannelConfiguration Class Reference
Inheritance diagram for com.glneurotech.devices.bioradio.configuration.MemsChannelConfiguration:
com.glneurotech.devices.bioradio.configuration.ChannelConfiguration

Public Member Functions

ChannelTypeCode getTypeCode ()
 
final MemsRange getRange ()
 
final void setRange (MemsRange value)
 
 MemsChannelConfiguration (byte[] bytes) throws IOException
 
 MemsChannelConfiguration ()
 
byte [] getBytes () throws IOException
 
boolean equals (Object obj)
 
int hashCode ()
 
- Public Member Functions inherited from com.glneurotech.devices.bioradio.configuration.ChannelConfiguration
abstract ChannelTypeCode getTypeCode ()
 
final String getChannelType ()
 
final int getChannelIndex ()
 
final void setChannelIndex (int value)
 
final String getName ()
 
final void setName (String value)
 
final boolean getEnabled ()
 
final void setEnabled (boolean value)
 
final boolean getSaved ()
 
final void setSaved (boolean value)
 
final boolean getStreamed ()
 
final void setStreamed (boolean value)
 
final int getPresetCode ()
 
final void setPresetCode (int value)
 
final boolean getConnected ()
 
final void setConnected (boolean value)
 
 ChannelConfiguration ()
 
byte [] getBytes () throws IOException
 
boolean equals (Object obj)
 
int hashCode ()
 
final void assignFrom (Object channelConfig)
 
final int getExternalSensorPodId ()
 

Additional Inherited Members

- Static Public Attributes inherited from com.glneurotech.devices.bioradio.configuration.ChannelConfiguration
static final int CustomParametersStartIndex = 35
 
static final int MaxChannelNameLength = 30
 
- Protected Member Functions inherited from com.glneurotech.devices.bioradio.configuration.ChannelConfiguration
 ChannelConfiguration (byte[] bytes) throws IOException
 

Detailed Description

Describes the configuration applied to the internal MEMS sensor of the BioRadio device. The MEMS sensor consists of 6 signals, consisting of the X, Y, and Z axis of the accelerometer and gyroscope. These settings apply to the sensor as a whole.

Constructor & Destructor Documentation

◆ MemsChannelConfiguration() [1/2]

com.glneurotech.devices.bioradio.configuration.MemsChannelConfiguration.MemsChannelConfiguration ( byte []  bytes) throws IOException

Constructor initializes instance based on passed byte array

Parameters
bytesTake a byte array as parameter.
See also
getBytes()

◆ MemsChannelConfiguration() [2/2]

com.glneurotech.devices.bioradio.configuration.MemsChannelConfiguration.MemsChannelConfiguration ( )

Default constructor...sets range to MemsRange.EightG

Member Function Documentation

◆ equals()

boolean com.glneurotech.devices.bioradio.configuration.MemsChannelConfiguration.equals ( Object  obj)

Performs logical comparison of this object to the passed object

Parameters
objTake an object as parameter.
Returns
boolean

◆ getBytes()

byte [] com.glneurotech.devices.bioradio.configuration.MemsChannelConfiguration.getBytes ( ) throws IOException

Gets the byte array which represents this object

Returns
byte[]
Exceptions
IOException
See also
MemsChannelConfiguration(byte[] bytes)

◆ getRange()

final MemsRange com.glneurotech.devices.bioradio.configuration.MemsChannelConfiguration.getRange ( )

Gets the MemsRange value for the MEMS sensor.

Returns
MemsRange

◆ getTypeCode()

ChannelTypeCode com.glneurotech.devices.bioradio.configuration.MemsChannelConfiguration.getTypeCode ( )

Always returns ChannelTypeCode.Mems

Returns
ChannelTypeCode

◆ hashCode()

int com.glneurotech.devices.bioradio.configuration.MemsChannelConfiguration.hashCode ( )

Gets the hashcode associated with this.getRange()

Returns
int

◆ setRange()

final void com.glneurotech.devices.bioradio.configuration.MemsChannelConfiguration.setRange ( MemsRange  value)

Sets the MemsRange value for the MEMS sensor.

Parameters
valueTake a MemsRange as parameter.

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