public class SerialCommManager extends EMDKBase
{@code public class MainActivity extends Activity implements EMDKListener { SerialComm serialComm; SerialCommManager serialCommManager; EMDKManager emdkManager;
Modifier and Type | Method and Description |
---|---|
SerialComm |
getPort(SerialPortInfo serialPortInfo)
This method returns the SerialComm object if the serial port info specified is valid
and serial port info object can obtain from the SerialCommManager.getSupportedPorts().
|
java.util.List<SerialPortInfo> |
getSupportedPorts()
Returns list of supported serial ports information.
|
public java.util.List<SerialPortInfo> getSupportedPorts() throws SerialCommException
SerialCommException
public SerialComm getPort(SerialPortInfo serialPortInfo) throws SerialCommException
serialPortInfo
- The SerialPortInfo object.SerialCommException