BioRadio SDK - Java Android
1.1
|
Public Member Functions | |
boolean | connect () |
void | disconnect () |
MockBioRadioDevice () | |
Public Member Functions inherited from com.glneurotech.devices.bioradio.BioRadioDevice | |
TimerTask | getDaqWatchdogTimerTask () |
void | setDaqWatchdogTimerTask (TimerTask daqWatchdogTimerTask) |
final void | processPulseOxDataFromByteArray (byte[] packet, int currentBytePos, int noninChannelCounter) |
final void | processAuxiliaryDataFromByteArray (byte[] packet, int currentBytePos, int auxiliaryChannelCounter) |
final int | getLastPacketCount () |
final void | setLastPacketCount (int value) |
final long | getDroppedPacketCount () |
final BioRadioConfiguration | getConfig () |
final void | setConfig (BioRadioConfiguration value) |
final long | getTotalPackets () |
final void | setTotalPackets (long value) |
BioRadioDevice (HardwareLinkHandler connection, String name) throws IOException | |
BioRadioDevice (HardwareLinkHandler connection, String name, BioRadioConfiguration config) | |
BioRadioDevice (HardwareLinkHandler connection, String name, Optional< Integer > signalBufferSize) throws IOException | |
void | stopAcquisition () |
boolean | waitForStatusInitialization () |
void | startAcquisition () |
DeviceTypeCode | getDeviceType () |
boolean | connect () |
void | disconnect () |
void | setDeviceTime () |
final LocalDateTime | getDeviceTime () throws InterruptedException, TimeoutException |
void | initializeSignalGroups (Optional< Integer > signalBufferSize) |
void | processPacketForStatusData (DeviceDataPacket packet) |
void | processPacketForSignalData (DeviceDataPacket packet) |
final void | addRawSampleToStream (long ticks, BioRadioSignal signal, int value) |
final void | addRawSampleToStream (long ticks, BioRadioSignal signal, long value) |
final BioRadioConfiguration | getCommonDAQParameters () throws InterruptedException, IOException, TimeoutException |
final void | setCommonDAQParameters (BioRadioConfiguration config) throws InterruptedException, IOException, TimeoutException |
final ChannelConfiguration | getChannelConfig (int channelIndex) throws InterruptedException, TimeoutException |
final void | setChannelConfig (ChannelConfiguration channelConfig) throws InterruptedException, IOException, TimeoutException |
final BioRadioConfiguration | getConfiguration () throws InterruptedException, IOException, TimeoutException |
final void | setConfiguration (String filePath) |
final void | setConfiguration (FileInputStream stream) throws Exception |
final void | setConfiguration (BioRadioConfiguration config) throws InterruptedException, IOException, TimeoutException |
final void | saveConfiguration (String filePath) |
final void | saveConfiguration (FileOutputStream stream) throws Exception |
final void | getDeviceStatus () throws InterruptedException, TimeoutException |
final BatteryInfo | getBatteryInfo () throws InterruptedException, TimeoutException |
final SignalGroup | getPulseOxSignals () |
final SignalGroup | getAuxiliarySignals () |
final SignalGroup | getBioPotentialSignals () |
final SignalGroup | getMemsSignals () |
final long | getTotalAcquisitionTime () |
Public Member Functions inherited from com.glneurotech.devices.common.DaqDevice | |
boolean | getIsConnected () |
final boolean | getIsDeviceLocked () |
final void | setIsDeviceLocked (boolean value) |
final boolean | getIsAcquiring () |
final boolean | getIsRecording () |
final void | setIsRecording (boolean value) |
boolean | connect () |
abstract void | processPacketForStatusData (DeviceDataPacket packet) |
abstract void | processPacketForSignalData (DeviceDataPacket packet) |
abstract boolean | waitForStatusInitialization () |
void | disconnect () |
final void | onSignalBufferOverflow (SignalDataEventArgs args) |
final void | onGeneralOperationError (EventArgs args) |
final void | onCommuncationError (CommunicationErrorArgs args) |
abstract void | startAcquisition () |
abstract void | stopAcquisition () |
abstract void | initializeSignalGroups (Optional< Integer > signalBufferSize) |
void | unlockDevice () throws InterruptedException, TimeoutException |
void | lockDevice () throws InterruptedException, TimeoutException |
void | setDeviceTime () throws InterruptedException, TimeoutException |
void | setDeviceTime (LocalDateTime time) throws InterruptedException, TimeoutException |
final String | getHardwareVersion () |
final void | setHardwareVersion (String value) |
final String | getFirmwareVersion () |
final void | setFirmwareVersion (String value) |
final String | getName () |
final void | setName (String value) |
abstract DeviceTypeCode | getDeviceType () |
final ArrayList< SignalGroup > | getSignalGroups () |
final HardwareLinkHandler | getConnection () |
final void | setConnection (HardwareLinkHandler value) |
DaqDevice (HardwareLinkHandler hardwareLink, String name, Optional< Integer > signalBufferSize) throws IOException | |
final void | startRecording (GlntStream outputStream) |
final void | stopRecording () |
final void | getDeviceId () throws InterruptedException, TimeoutException |
final DeviceTypeCode | getInternalDeviceType () throws InterruptedException, TimeoutException |
void | close () throws IOException |
Additional Inherited Members | |
Static Public Member Functions inherited from com.glneurotech.devices.bioradio.BioRadioDevice | |
static int | extractBioPotentialValueFromByteArray (byte[] source, int currentBytePos, int startBitPosition, int length) |
Public Attributes inherited from com.glneurotech.devices.bioradio.BioRadioDevice | |
Event< EventHandler< BioRadioButtonEventArgs > > | EventMarkerButtonPushed = new Event<EventHandler<BioRadioButtonEventArgs>>() |
Public Attributes inherited from com.glneurotech.devices.common.DaqDevice | |
Event< EventHandler< SignalDataEventArgs > > | SignalBufferOverflowed = new Event<EventHandler<SignalDataEventArgs>>() |
Event< EventHandler< CommunicationErrorArgs > > | CommunicationError = new Event<EventHandler<CommunicationErrorArgs>>() |
Event< EventHandler< EventArgs > > | GeneralOperationError = new Event<EventHandler<EventArgs>>() |
Static Public Attributes inherited from com.glneurotech.devices.common.DaqDevice | |
static final int | _NUM_OF_RETRY = 10 |
static final int | _TIMEOUT_MS = 1000 |
Protected Member Functions inherited from com.glneurotech.devices.bioradio.BioRadioDevice | |
BioRadioDevice () | |
Protected Member Functions inherited from com.glneurotech.devices.common.DaqDevice | |
void | setIsConnected (boolean value) |
final void | setIsAcquiring (boolean value) |
void | getInternalFirmwareVersion () throws InterruptedException, TimeoutException |
Class is a mock of the BioRadioDevice to be used in unit tests
com.glneurotech.devices.bioradio.devicemocks.MockBioRadioDevice.MockBioRadioDevice | ( | ) |
Default constructor
boolean com.glneurotech.devices.bioradio.devicemocks.MockBioRadioDevice.connect | ( | ) |
Stub for connecting to the mock device. This method always succeeds.
Implements com.glneurotech.devices.common.IDaqDevice.
void com.glneurotech.devices.bioradio.devicemocks.MockBioRadioDevice.disconnect | ( | ) |
Disconnects from the mock device.
Implements com.glneurotech.devices.common.IDaqDevice.