BioRadio SDK - Java Android
1.1
|
Public Member Functions | |
AndroidTransportProvider () | |
final IDeviceTransport | getBluetoothTransport (long macId) |
final IDeviceTransport | getBluetoothTransport (String deviceId) |
final IDeviceTransport | getSerialTransport (String comPort) |
final IDeviceTransport | getTcpTransport (String hostname, int port) |
Transport provider used for Android devices
com.glneurotech.commondeviceapi.android.AndroidTransportProvider.AndroidTransportProvider | ( | ) |
Default constructor
final IDeviceTransport com.glneurotech.commondeviceapi.android.AndroidTransportProvider.getBluetoothTransport | ( | long | macId | ) |
Gets bluetooth transport based on numeric representation of the device mac id
macId | Take a long value for the macId. |
Implements com.glneurotech.devices.common.transportlayer.ITransportProvider.
final IDeviceTransport com.glneurotech.commondeviceapi.android.AndroidTransportProvider.getBluetoothTransport | ( | String | deviceId | ) |
Gets bluetooth transport based on String representation of the device mac id
deviceId | Take a string for the deviceId. |
Implements com.glneurotech.devices.common.transportlayer.ITransportProvider.
final IDeviceTransport com.glneurotech.commondeviceapi.android.AndroidTransportProvider.getSerialTransport | ( | String | comPort | ) |
Gets serial transport - not implemented
comPort | Take a string value for the comPort. |
UnsupportedOperationException |
Implements com.glneurotech.devices.common.transportlayer.ITransportProvider.
final IDeviceTransport com.glneurotech.commondeviceapi.android.AndroidTransportProvider.getTcpTransport | ( | String | hostname, |
int | port | ||
) |
Gets tcp transport based on hostname and port number for virtual device
hostname | Take a string value for the hostname. |
port | Take a int value for the port number. |
Implements com.glneurotech.devices.common.transportlayer.ITransportProvider.