Skip navigation links
C G S 

C

close() - Method in class com.handheldgroup.serialport.SerialPort
Closes the open connection
com.handheldgroup.serialport - package com.handheldgroup.serialport
 

G

getInputStream() - Method in class com.handheldgroup.serialport.SerialPort
Get the InputStream to read from the device
getOutputStream() - Method in class com.handheldgroup.serialport.SerialPort
Get the OutputStream to write to the device
getSerialPath() - Static method in class com.handheldgroup.serialport.SerialPort
Detect the correct device path for the current hardware

S

SerialPort - Class in com.handheldgroup.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
SerialPort(File, int, int) - Constructor for class com.handheldgroup.serialport.SerialPort
Open the serial connection
setDevicePower(Context, boolean) - Static method in class com.handheldgroup.serialport.SerialPort
Turn of power pins and enable the serial for Nautiz X2 and Nautiz X6
C G S 
Skip navigation links