BioRadio SDK - Java Android
1.1
|
Public Member Functions | |
DeviceManager (ITransportProvider transportProvider) | |
abstract String | getBlueToothDeviceNamePrefix () |
T | getBluetoothDevice (long macID) |
T | getBluetoothDevice (String deviceId) |
T | getDeviceByComPort (String comPort) |
T | getDeviceByTcpAddress (String hostname, int port) |
final VirtualDeviceAdapter | createVirtualDevice (GlntStream inputStream) |
abstract T | createSpecificDevice (DeviceTypeCode deviceType, String deviceId, HardwareLinkHandler handler) |
Public Member Functions inherited from com.glneurotech.devices.common.IDeviceManager< T > | |
IDeviceAdapter | createVirtualDevice (GlntStream inputStream) |
T | getBluetoothDevice (long macID) |
T | getBluetoothDevice (String deviceId) |
T | getDeviceByComPort (String comPort) |
T | getDeviceByTcpAddress (String hostname, int port) |
The abstract base class responsible for detecting and instantiating Great Lakes NeuroTechnologies data acquisition devices.
This is an abstract class and is not intended to be used directly in user programs.
T | The specific type of Great Lakes NeuroTechnologies device for which this DeviceManager is responsible. |
com.glneurotech.devices.common.DeviceManager< T extends DaqDevice >.DeviceManager | ( | ITransportProvider | transportProvider | ) |
Constructor for device manager class.
transportProvider |
final VirtualDeviceAdapter com.glneurotech.devices.common.DeviceManager< T extends DaqDevice >.createVirtualDevice | ( | GlntStream | inputStream | ) |
Creates a virtual device with a file as a backing store.
inputStream | The stream containing the input data. |
T com.glneurotech.devices.common.DeviceManager< T extends DaqDevice >.getBluetoothDevice | ( | long | macID | ) |
Retrieves a reference to a T device based on a bluetooth connection. Use of this method requires a bluetooth radio installed on the host PC.
macID | The address of the bluetooth device |
T com.glneurotech.devices.common.DeviceManager< T extends DaqDevice >.getBluetoothDevice | ( | String | deviceId | ) |
Retrieves a reference to a T device based on a bluetooth connection. Use of this method requires a bluetooth radio installed on the host PC.
deviceId | The address of the bluetooth device |
|
abstract |
Gets bluetooth device name prefix - abstract method.
T com.glneurotech.devices.common.DeviceManager< T extends DaqDevice >.getDeviceByComPort | ( | String | comPort | ) |
Returns a device based on a predetermined serial COM port name.
comPort | Take a string for comPort parameter. |
T com.glneurotech.devices.common.DeviceManager< T extends DaqDevice >.getDeviceByTcpAddress | ( | String | hostname, |
int | port | ||
) |
Returns the device connected at the specified hostname and port
hostname | The address of the device. |
port | The port on which the device is listening. |