SerialPort |
Usage:
SerialPort.setDevicePower(true); // Power on the port
File port = new File(SerialPort.getSerialPath);
SerialPort serialPort = new SerialPort(port, 9600, 0);
mOutputStream = mSerialPort.getOutputStream();
mInputStream = mSerialPort.getInputStream();
// Start reading and writing data
|