diff --git a/android/android.iml b/android/android.iml deleted file mode 100644 index f6e5e11..0000000 --- a/android/android.iml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/android/doc/allclasses-frame.html b/android/doc/allclasses-frame.html deleted file mode 100644 index 899f964..0000000 --- a/android/doc/allclasses-frame.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - -All Classes - - - - -

All Classes

-
- -
- - diff --git a/android/doc/allclasses-noframe.html b/android/doc/allclasses-noframe.html deleted file mode 100644 index 6da664d..0000000 --- a/android/doc/allclasses-noframe.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - -All Classes - - - - -

All Classes

-
- -
- - diff --git a/android/doc/constant-values.html b/android/doc/constant-values.html deleted file mode 100644 index bb9c855..0000000 --- a/android/doc/constant-values.html +++ /dev/null @@ -1,374 +0,0 @@ - - - - - -Constant Field Values - - - - - - - -
- - - - - -
- - -
-

Constant Field Values

-

Contents

- -
-
- - -

serial.*

- -
- -
- - - - - -
- - - - diff --git a/android/doc/deprecated-list.html b/android/doc/deprecated-list.html deleted file mode 100644 index 39d53d3..0000000 --- a/android/doc/deprecated-list.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - -Deprecated List - - - - - - - -
- - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - -
- - - - diff --git a/android/doc/help-doc.html b/android/doc/help-doc.html deleted file mode 100644 index 1a7c019..0000000 --- a/android/doc/help-doc.html +++ /dev/null @@ -1,208 +0,0 @@ - - - - - -API Help - - - - - - - -
- - - - - -
- - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
- -This help file applies to API documentation generated using the standard doclet.
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-1.html b/android/doc/index-files/index-1.html deleted file mode 100644 index 9244a2d..0000000 --- a/android/doc/index-files/index-1.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - -A-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

A

-
-
ALL - Static variable in class serial.Log
-
-
Priority constant for enable all loggings.
-
-
ASSERT - Static variable in class serial.Log
-
-
Priority constant for the Log.println(int, String, String) or - Log.setFilterLevel(int) method.
-
-
available() - Method in class serial.Serial
-
-
Return the number of characters in the buffer.
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-10.html b/android/doc/index-files/index-10.html deleted file mode 100644 index 7c3e025..0000000 --- a/android/doc/index-files/index-10.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - -L-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

L

-
-
listPorts() - Static method in class serial.Serial
-
-
List available ports on this device.
-
-
Log - Class in serial
-
-
Log replacement for android.util.Log.
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-11.html b/android/doc/index-files/index-11.html deleted file mode 100644 index a5787fe..0000000 --- a/android/doc/index-files/index-11.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - -M-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

M

-
-
MAX - Static variable in class serial.Timeout
-
-
Value that represents interbyte timeout should be disabled.
-
-
myAssert(boolean, String) - Static method in class serial.Log
-
 
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-12.html b/android/doc/index-files/index-12.html deleted file mode 100644 index 04c0784..0000000 --- a/android/doc/index-files/index-12.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - -N-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

N

-
-
NONE - Static variable in class serial.Log
-
-
Priority constant for disable all loggings.
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-13.html b/android/doc/index-files/index-13.html deleted file mode 100644 index 95a18a3..0000000 --- a/android/doc/index-files/index-13.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - -O-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

O

-
-
open() - Method in class serial.Serial
-
-
Opens the serial port as long as the port is set and the port isn't - already open.
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-14.html b/android/doc/index-files/index-14.html deleted file mode 100644 index 3bc570c..0000000 --- a/android/doc/index-files/index-14.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - -P-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

P

-
-
Parity - Enum in serial
-
-
Enumeration defines the possible parity types for the serial port.
-
-
port - Variable in class serial.PortInfo
-
-
Address of the serial port (this can be passed to the constructor of Serial).
-
-
PortInfo - Class in serial
-
-
Created by chzhong on 1/20/16.
-
-
PortNotOpenedException - Exception in serial
-
-
Created by chzhong on 1/20/16.
-
-
println(int, String, String) - Static method in class serial.Log
-
-
Low-level logging call.
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-15.html b/android/doc/index-files/index-15.html deleted file mode 100644 index 2746aed..0000000 --- a/android/doc/index-files/index-15.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - -R-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

R

-
-
read(byte[], int, int) - Method in class serial.Serial
-
-
Read a given amount of bytes from the serial port into a given buffer.
-
-
read() - Method in class serial.Serial
-
-
Read all data available from the serial port.
-
-
read(ByteBuffer, int) - Method in class serial.Serial
-
-
Read a given amount of bytes from the serial port into a give buffer.
-
-
read(StringBuilder, int, Charset) - Method in class serial.Serial
-
-
Read a given amount of bytes from the serial port into a give buffer.
-
-
read(int, Charset) - Method in class serial.Serial
-
-
Read a given amount of bytes from the serial port and return a string - containing the data.
-
-
readline(StringBuilder, int, String) - Method in class serial.Serial
-
-
Reads in a line or until a given delimiter has been processed.
-
-
readline(int, String) - Method in class serial.Serial
-
-
Reads in a line or until a given delimiter has been processed.
-
-
readlines(int, String) - Method in class serial.Serial
-
-
Reads in multiple lines until the serial port times out.
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-16.html b/android/doc/index-files/index-16.html deleted file mode 100644 index 6c8009e..0000000 --- a/android/doc/index-files/index-16.html +++ /dev/null @@ -1,255 +0,0 @@ - - - - - -S-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

S

-
-
sendBreak(int) - Method in class serial.Serial
-
-
Sends the RS-232 break signal.
-
-
serial - package serial
-
 
-
Serial - Class in serial
-
-
Serial Port.
-
-
Serial.Builder - Class in serial
-
-
Builder for Serial.
-
-
Serial.Builder() - Constructor for class serial.Serial.Builder
-
-
Initial a Serial.Builder for serial port.
-
-
Serial.Builder(String) - Constructor for class serial.Serial.Builder
-
-
Initial a Serial.Builder for serial port.
-
-
Serial.Builder(String, int) - Constructor for class serial.Serial.Builder
-
-
Initial a Serial.Builder for serial port.
-
-
SerialException - Exception in serial
-
-
Created by chzhong on 1/20/16.
-
-
SerialException(String) - Constructor for exception serial.SerialException
-
-
Constructs a new SerialException with the current stack trace - and the specified detail message.
-
-
SerialException(String, Throwable) - Constructor for exception serial.SerialException
-
-
Constructs a new PortNotOpenedException with the current stack trace, - the specified detail message and the specified cause.
-
-
SerialIOException - Exception in serial
-
-
Created by chzhong on 1/20/16.
-
-
SerialIOException(String) - Constructor for exception serial.SerialIOException
-
-
Constructs a new SerialIOException with its stack trace and detail - message filled in.
-
-
SerialIOException(String, Throwable) - Constructor for exception serial.SerialIOException
-
-
Constructs a new instance of this class with detail message and cause - filled in.
-
-
setApplicationTag(String) - Static method in class serial.Log
-
-
Set the default tag for this application.
-
-
setBaudrate(int) - Method in class serial.Serial.Builder
-
 
-
setBaudrate(int) - Method in class serial.Serial
-
-
Sets the baudrate for the serial port.
-
-
setBreak(boolean) - Method in class serial.Serial
-
-
Set the break condition to a given level.
-
-
setBreak() - Method in class serial.Serial
-
-
Set the break condition to true level.
-
-
setBytesize(ByteSize) - Method in class serial.Serial.Builder
-
 
-
setBytesize(ByteSize) - Method in class serial.Serial
-
-
Sets the bytesize for the serial port.
-
-
setDTR(boolean) - Method in class serial.Serial
-
-
Set the DTR handshaking line to the given level.
-
-
setDTR() - Method in class serial.Serial
-
-
Set the DTR handshaking line to the given level.
-
-
setFilterLevel(int) - Static method in class serial.Log
-
-
Sets the filter level of logs.
-
-
setFlowcontrol(FlowControl) - Method in class serial.Serial.Builder
-
 
-
setFlowcontrol(FlowControl) - Method in class serial.Serial
-
-
Sets the flow control for the serial port.
-
-
setParity(Parity) - Method in class serial.Serial.Builder
-
 
-
setParity(Parity) - Method in class serial.Serial
-
-
Sets the parity for the serial port.
-
-
setPort(String) - Method in class serial.Serial.Builder
-
 
-
setPort(String) - Method in class serial.Serial
-
-
Sets the serial port identifier.
-
-
setRTS(boolean) - Method in class serial.Serial
-
-
Set the RTS handshaking line to the given level.
-
-
setRTS() - Method in class serial.Serial
-
-
Set the RTS handshaking line to the true level.
-
-
setStopbits(Stopbits) - Method in class serial.Serial.Builder
-
 
-
setStopbits(Stopbits) - Method in class serial.Serial
-
-
Sets the stopbits for the serial port.
-
-
setTimeout(Timeout) - Method in class serial.Serial.Builder
-
 
-
setTimeout(Timeout) - Method in class serial.Serial
-
-
Sets the timeout for reads and writes using the Timeout struct.
-
-
setTimeout(int, int, int, int, int) - Method in class serial.Serial
-
-
Sets the timeout for reads and writes.
-
-
simpleTimeout(int) - Static method in class serial.Timeout
-
-
Convenience function to generate Timeout structs using a - single absolute timeout.
-
-
Stopbits - Enum in serial
-
-
Enumeration defines the possible stopbit types for the serial port.
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-17.html b/android/doc/index-files/index-17.html deleted file mode 100644 index 5c00317..0000000 --- a/android/doc/index-files/index-17.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - -T-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

T

-
-
Timeout - Class in serial
-
-
Structure for setting the timeout of the serial port, times are - in milliseconds.
-
-
Timeout() - Constructor for class serial.Timeout
-
 
-
Timeout(int) - Constructor for class serial.Timeout
-
-
Convenience function to generate Timeout structs using a - single absolute timeout.
-
-
Timeout(int, int, int, int, int) - Constructor for class serial.Timeout
-
 
-
toString() - Method in class serial.PortInfo
-
 
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-18.html b/android/doc/index-files/index-18.html deleted file mode 100644 index 7cc04c3..0000000 --- a/android/doc/index-files/index-18.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - -V-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

V

-
-
v(String) - Static method in class serial.Log
-
-
Send a Log.VERBOSE log message.
-
-
v(String, String) - Static method in class serial.Log
-
-
Send a Log.VERBOSE log message.
-
-
v(String, String, Object...) - Static method in class serial.Log
-
-
Send a Log.VERBOSE log message.
-
-
v(String, String, Throwable) - Static method in class serial.Log
-
-
Send a Log.VERBOSE log message and log the exception.
-
-
value - Variable in enum serial.Stopbits
-
-
Internal value of the enumeration.
-
-
valueOf(String) - Static method in enum serial.ByteSize
-
-
Returns the enum constant of this type with the specified name.
-
-
valueOf(String) - Static method in enum serial.FlowControl
-
-
Returns the enum constant of this type with the specified name.
-
-
valueOf(String) - Static method in enum serial.Parity
-
-
Returns the enum constant of this type with the specified name.
-
-
valueOf(String) - Static method in enum serial.Stopbits
-
-
Returns the enum constant of this type with the specified name.
-
-
values() - Static method in enum serial.ByteSize
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Static method in enum serial.FlowControl
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Static method in enum serial.Parity
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Static method in enum serial.Stopbits
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
VERBOSE - Static variable in class serial.Log
-
-
Priority constant for Log.println(int, String, String) or - Log.setFilterLevel(int) methods; use Log.v.
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-19.html b/android/doc/index-files/index-19.html deleted file mode 100644 index ec52d28..0000000 --- a/android/doc/index-files/index-19.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - -W-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

W

-
-
w(String) - Static method in class serial.Log
-
-
Send a Log.WARN log message.
-
-
w(String, String) - Static method in class serial.Log
-
-
Send a Log.WARN log message.
-
-
w(String, String, Object...) - Static method in class serial.Log
-
-
Send a Log.WARN log message.
-
-
w(String, String, Throwable) - Static method in class serial.Log
-
-
Send a Log.WARN log message and log the exception.
-
-
w(String, Throwable) - Static method in class serial.Log
-
 
-
w(Throwable) - Static method in class serial.Log
-
 
-
waitByteTimes(int) - Method in class serial.Serial
-
-
Block for a period of time corresponding to the transmission time of - count characters at present serial settings.
-
-
waitForChange() - Method in class serial.Serial
-
-
Blocks until CTS, DSR, RI, CD changes or something interrupts it.
-
-
waitReadable() - Method in class serial.Serial
-
-
Block until there is serial data to read or read_timeout_constant - number of milliseconds have elapsed.
-
-
WARN - Static variable in class serial.Log
-
-
Priority constant for the Log.println(int, String, String) or - Log.setFilterLevel(int) method; use Log.w.
-
-
write(byte[], int) - Method in class serial.Serial
-
-
Write a string to the serial port.
-
-
write(String) - Method in class serial.Serial
-
-
Write a string to the serial port.
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-2.html b/android/doc/index-files/index-2.html deleted file mode 100644 index 7897027..0000000 --- a/android/doc/index-files/index-2.html +++ /dev/null @@ -1,198 +0,0 @@ - - - - - -B-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

B

-
-
BAUDRATE_110 - Static variable in class serial.Serial
-
-
Baudrate 110 bits/s.
-
-
BAUDRATE_115200 - Static variable in class serial.Serial
-
-
Baudrate 115200 bits/s.
-
-
BAUDRATE_1200 - Static variable in class serial.Serial
-
-
Baudrate 1200 bits/s.
-
-
BAUDRATE_128000 - Static variable in class serial.Serial
-
-
Baudrate 128000 bits/s.
-
-
BAUDRATE_14400 - Static variable in class serial.Serial
-
-
Baudrate 14400 bits/s.
-
-
BAUDRATE_153600 - Static variable in class serial.Serial
-
-
Baudrate 153600 bits/s.
-
-
BAUDRATE_230400 - Static variable in class serial.Serial
-
-
Baudrate 230400 bits/s.
-
-
BAUDRATE_2400 - Static variable in class serial.Serial
-
-
Baudrate 2400 bits/s.
-
-
BAUDRATE_256000 - Static variable in class serial.Serial
-
-
Baudrate 256000 bits/s.
-
-
BAUDRATE_28800 - Static variable in class serial.Serial
-
-
Baudrate 28800 bits/s.
-
-
BAUDRATE_300 - Static variable in class serial.Serial
-
-
Baudrate 300 bits/s.
-
-
BAUDRATE_38400 - Static variable in class serial.Serial
-
-
Baudrate 38400 bits/s.
-
-
BAUDRATE_460800 - Static variable in class serial.Serial
-
-
Baudrate 460800 bits/s.
-
-
BAUDRATE_4800 - Static variable in class serial.Serial
-
-
Baudrate 4800 bits/s.
-
-
BAUDRATE_56000 - Static variable in class serial.Serial
-
-
Baudrate 56000 bits/s.
-
-
BAUDRATE_57600 - Static variable in class serial.Serial
-
-
Baudrate 57600 bits/s.
-
-
BAUDRATE_600 - Static variable in class serial.Serial
-
-
Baudrate 600 bits/s.
-
-
BAUDRATE_921600 - Static variable in class serial.Serial
-
-
Baudrate 921600 bits/s.
-
-
BAUDRATE_9600 - Static variable in class serial.Serial
-
-
Baudrate 9600 bits/s.
-
-
bitLength - Variable in enum serial.ByteSize
-
-
Number of bits in a single byte.
-
-
ByteSize - Enum in serial
-
-
Enumeration defines the possible bytesizes for the serial port.
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-3.html b/android/doc/index-files/index-3.html deleted file mode 100644 index 03004c5..0000000 --- a/android/doc/index-files/index-3.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - -C-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

C

-
-
CHARSET_DEFAULT - Static variable in class serial.Serial
-
-
Default charset.
-
-
CHARSET_ISO_8859_1 - Static variable in class serial.Serial
-
-
ISO-8859-1 charset.
-
-
CHARSET_US_ASCII - Static variable in class serial.Serial
-
-
US-ASCII charset.
-
-
CHARSET_UTF16 - Static variable in class serial.Serial
-
-
UTF-16 charset.
-
-
CHARSET_UTF16BE - Static variable in class serial.Serial
-
-
UTF-16BE charset.
-
-
CHARSET_UTF16LE - Static variable in class serial.Serial
-
-
UTF-16LE charset.
-
-
CHARSET_UTF8 - Static variable in class serial.Serial
-
-
UTF-8 charset.
-
-
close() - Method in class serial.Serial
-
-
Closes the serial port.
-
-
create() - Method in class serial.Serial.Builder
-
-
Create the serial object with give parameters.
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-4.html b/android/doc/index-files/index-4.html deleted file mode 100644 index a9439c4..0000000 --- a/android/doc/index-files/index-4.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - -D-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

D

-
-
d(String) - Static method in class serial.Log
-
-
Send a Log.DEBUG log message.
-
-
d(String, String) - Static method in class serial.Log
-
-
Send a Log.DEBUG log message.
-
-
d(String, String, Object...) - Static method in class serial.Log
-
-
Send a Log.DEBUG log message.
-
-
d(String, String, Throwable) - Static method in class serial.Log
-
-
Send a Log.DEBUG log message and log the exception.
-
-
DEBUG - Static variable in class serial.Log
-
-
Priority constant for the Log.println(int, String, String) or - Log.setFilterLevel(int) method; use Log.d.
-
-
description - Variable in class serial.PortInfo
-
-
Human readable description of serial device if available.
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-5.html b/android/doc/index-files/index-5.html deleted file mode 100644 index 8142f9b..0000000 --- a/android/doc/index-files/index-5.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - -E-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

E

-
-
e(String, String, Object...) - Static method in class serial.Log
-
-
Send an Log.ERROR log message.
-
-
e(String) - Static method in class serial.Log
-
-
Send an Log.ERROR log message.
-
-
e(Throwable) - Static method in class serial.Log
-
-
Send an Log.ERROR log message.
-
-
e(String, String) - Static method in class serial.Log
-
-
Send an Log.ERROR log message.
-
-
e(String, Throwable) - Static method in class serial.Log
-
-
Send a Log.ERROR log message and log the exception.
-
-
e(String, String, Throwable) - Static method in class serial.Log
-
-
Send a Log.ERROR log message and log the exception.
-
-
EOL_CR - Static variable in class serial.Serial
-
-
End-of-line: carriage-return (\n).
-
-
EOL_CRLF - Static variable in class serial.Serial
-
-
End-of-line: CR & LF (\r\n).
-
-
EOL_LF - Static variable in class serial.Serial
-
-
End-of-line: line-feed (\n).
-
-
ERROR - Static variable in class serial.Log
-
-
Priority constant for the Log.println(int, String, String) or - Log.setFilterLevel(int) method; use Log.e.
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-6.html b/android/doc/index-files/index-6.html deleted file mode 100644 index 2484c96..0000000 --- a/android/doc/index-files/index-6.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - -F-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

F

-
-
finalize() - Method in class serial.Serial
-
 
-
FlowControl - Enum in serial
-
-
Enumeration defines the possible flowcontrol types for the serial port.
-
-
flush() - Method in class serial.Serial
-
-
Flush the input and output buffers
-
-
flushInput() - Method in class serial.Serial
-
-
Flush only the input buffer
-
-
flushOutput() - Method in class serial.Serial
-
-
Flush only the output buffer
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-7.html b/android/doc/index-files/index-7.html deleted file mode 100644 index e84c408..0000000 --- a/android/doc/index-files/index-7.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - -G-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

G

-
-
getApplicationTag() - Static method in class serial.Log
-
-
Gets the default tag of the application.
-
-
getBaudrate() - Method in class serial.Serial
-
-
Gets the baudrate for the serial port.
-
-
getBytesize() - Method in class serial.Serial
-
-
Gets the bytesize for the serial port.
-
-
getCallerFrame() - Static method in class serial.Log
-
-
Return the StackTraceElement for current method's caller.
-
-
getCD() - Method in class serial.Serial
-
-
Returns the current status of the CD line.
-
-
getCTS() - Method in class serial.Serial
-
 
-
getCurrentFrame() - Static method in class serial.Log
-
-
Return the StackTraceElement for current method.
-
-
getDSR() - Method in class serial.Serial
-
-
Returns the current status of the DSR line.
-
-
getFilterLevel() - Static method in class serial.Log
-
-
Gets the filter level of logs.
-
-
getFlowcontrol() - Method in class serial.Serial
-
-
Gets the flow control for the serial port.
-
-
getParity() - Method in class serial.Serial
-
-
Gets the parity for the serial port.
-
-
getPort() - Method in class serial.Serial
-
-
Gets the serial port identifier.
-
-
getRI() - Method in class serial.Serial
-
-
Returns the current status of the RI line.
-
-
getStackFrameAt(int) - Static method in class serial.Log
-
-
Return specified StackTraceElement on the call stack, relative to current method.
-
-
getStackTraceString(Throwable) - Static method in class serial.Log
-
-
Handy function to get a loggable stack trace from a Throwable
-
-
getStopbits() - Method in class serial.Serial
-
-
Gets the stopbits for the serial port.
-
-
getTimeout() - Method in class serial.Serial
-
-
Gets the timeout for reads in seconds.
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-8.html b/android/doc/index-files/index-8.html deleted file mode 100644 index 2891c05..0000000 --- a/android/doc/index-files/index-8.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - -H-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

H

-
-
hardwareId - Variable in class serial.PortInfo
-
-
Hardware ID (e.g.
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index-files/index-9.html b/android/doc/index-files/index-9.html deleted file mode 100644 index b68e2f4..0000000 --- a/android/doc/index-files/index-9.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - -I-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I L M N O P R S T V W  - - -

I

-
-
i(String) - Static method in class serial.Log
-
-
Send an Log.INFO log message.
-
-
i(String, String) - Static method in class serial.Log
-
-
Send an Log.INFO log message.
-
-
i(String, String, Object...) - Static method in class serial.Log
-
-
Send an Log.INFO log message.
-
-
i(String, String, Throwable) - Static method in class serial.Log
-
-
Send a Log.INFO log message and log the exception.
-
-
INFO - Static variable in class serial.Log
-
-
Priority constant for the Log.println(int, String, String) or - Log.setFilterLevel(int) method; use Log.i.
-
-
isLoggable(String, int) - Static method in class serial.Log
-
-
Checks to see whether or not a log for the specified tag is loggable at - the specified level.
-
-
isOpen() - Method in class serial.Serial
-
-
Gets the open status of the serial port.
-
-
isValid() - Method in class serial.Serial
-
-
Determine whether this instance has a valid port.
-
-
-A B C D E F G H I L M N O P R S T V W 
- -
- - - - - -
- - - - diff --git a/android/doc/index.html b/android/doc/index.html deleted file mode 100644 index 9ed017e..0000000 --- a/android/doc/index.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - -Generated Documentation (Untitled) - - - - - - -<noscript> -<div>JavaScript is disabled on your browser.</div> -</noscript> -<h2>Frame Alert</h2> -<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="serial/package-summary.html">Non-frame version</a>.</p> - - - diff --git a/android/doc/overview-tree.html b/android/doc/overview-tree.html deleted file mode 100644 index 486f36a..0000000 --- a/android/doc/overview-tree.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - -Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Enum Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/android/doc/package-list b/android/doc/package-list deleted file mode 100644 index b6be06a..0000000 --- a/android/doc/package-list +++ /dev/null @@ -1 +0,0 @@ -serial diff --git a/android/doc/resources/background.gif b/android/doc/resources/background.gif deleted file mode 100644 index f471940..0000000 Binary files a/android/doc/resources/background.gif and /dev/null differ diff --git a/android/doc/resources/tab.gif b/android/doc/resources/tab.gif deleted file mode 100644 index 1a73a83..0000000 Binary files a/android/doc/resources/tab.gif and /dev/null differ diff --git a/android/doc/resources/titlebar.gif b/android/doc/resources/titlebar.gif deleted file mode 100644 index 17443b3..0000000 Binary files a/android/doc/resources/titlebar.gif and /dev/null differ diff --git a/android/doc/resources/titlebar_end.gif b/android/doc/resources/titlebar_end.gif deleted file mode 100644 index 3ad78d4..0000000 Binary files a/android/doc/resources/titlebar_end.gif and /dev/null differ diff --git a/android/doc/serial/ByteSize.html b/android/doc/serial/ByteSize.html deleted file mode 100644 index 9fb9165..0000000 --- a/android/doc/serial/ByteSize.html +++ /dev/null @@ -1,393 +0,0 @@ - - - - - -ByteSize - - - - - - - -
- - - - - -
- - - -
-
serial
-

Enum ByteSize

-
-
- -
- -
-
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/android/doc/serial/FlowControl.html b/android/doc/serial/FlowControl.html deleted file mode 100644 index f657c6c..0000000 --- a/android/doc/serial/FlowControl.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - -FlowControl - - - - - - - -
- - - - - -
- - - -
-
serial
-

Enum FlowControl

-
-
- -
- -
-
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/android/doc/serial/Log.html b/android/doc/serial/Log.html deleted file mode 100644 index 00db1ac..0000000 --- a/android/doc/serial/Log.html +++ /dev/null @@ -1,1114 +0,0 @@ - - - - - -Log - - - - - - - -
- - - - - -
- - - -
-
serial
-

Class Log

-
-
- -
- -
-
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/android/doc/serial/Parity.html b/android/doc/serial/Parity.html deleted file mode 100644 index 1cab025..0000000 --- a/android/doc/serial/Parity.html +++ /dev/null @@ -1,369 +0,0 @@ - - - - - -Parity - - - - - - - -
- - - - - -
- - - -
-
serial
-

Enum Parity

-
-
- -
- -
-
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/android/doc/serial/PortInfo.html b/android/doc/serial/PortInfo.html deleted file mode 100644 index 911c716..0000000 --- a/android/doc/serial/PortInfo.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - -PortInfo - - - - - - - -
- - - - - -
- - - -
-
serial
-

Class PortInfo

-
-
- -
- -
-
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/android/doc/serial/PortNotOpenedException.html b/android/doc/serial/PortNotOpenedException.html deleted file mode 100644 index e9ae080..0000000 --- a/android/doc/serial/PortNotOpenedException.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - -PortNotOpenedException - - - - - - - -
- - - - - -
- - - -
-
serial
-

Class PortNotOpenedException

-
-
- -
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/android/doc/serial/Serial.Builder.html b/android/doc/serial/Serial.Builder.html deleted file mode 100644 index a69132a..0000000 --- a/android/doc/serial/Serial.Builder.html +++ /dev/null @@ -1,399 +0,0 @@ - - - - - -Serial.Builder - - - - - - - -
- - - - - -
- - - -
-
serial
-

Class Serial.Builder

-
-
- -
- -
-
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/android/doc/serial/Serial.html b/android/doc/serial/Serial.html deleted file mode 100644 index 8f6928c..0000000 --- a/android/doc/serial/Serial.html +++ /dev/null @@ -1,1759 +0,0 @@ - - - - - -Serial - - - - - - - -
- - - - - -
- - - -
-
serial
-

Class Serial

-
-
- -
- -
-
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/android/doc/serial/SerialException.html b/android/doc/serial/SerialException.html deleted file mode 100644 index 01414ef..0000000 --- a/android/doc/serial/SerialException.html +++ /dev/null @@ -1,278 +0,0 @@ - - - - - -SerialException - - - - - - - -
- - - - - -
- - - -
-
serial
-

Class SerialException

-
-
- -
- -
-
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/android/doc/serial/SerialIOException.html b/android/doc/serial/SerialIOException.html deleted file mode 100644 index 0aaaf5a..0000000 --- a/android/doc/serial/SerialIOException.html +++ /dev/null @@ -1,279 +0,0 @@ - - - - - -SerialIOException - - - - - - - -
- - - - - -
- - - -
-
serial
-

Class SerialIOException

-
-
- -
- -
-
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/android/doc/serial/Stopbits.html b/android/doc/serial/Stopbits.html deleted file mode 100644 index 66f39ac..0000000 --- a/android/doc/serial/Stopbits.html +++ /dev/null @@ -1,378 +0,0 @@ - - - - - -Stopbits - - - - - - - -
- - - - - -
- - - -
-
serial
-

Enum Stopbits

-
-
- -
- -
-
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/android/doc/serial/Timeout.html b/android/doc/serial/Timeout.html deleted file mode 100644 index 25a57cd..0000000 --- a/android/doc/serial/Timeout.html +++ /dev/null @@ -1,345 +0,0 @@ - - - - - -Timeout - - - - - - - -
- - - - - -
- - - -
-
serial
-

Class Timeout

-
-
- -
- -
-
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/android/doc/serial/package-frame.html b/android/doc/serial/package-frame.html deleted file mode 100644 index 1f4a761..0000000 --- a/android/doc/serial/package-frame.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - -serial - - - - -

serial

-
-

Classes

- -

Enums

- -

Exceptions

- -
- - diff --git a/android/doc/serial/package-summary.html b/android/doc/serial/package-summary.html deleted file mode 100644 index f9e3dd9..0000000 --- a/android/doc/serial/package-summary.html +++ /dev/null @@ -1,220 +0,0 @@ - - - - - -serial - - - - - - - -
- - - - - -
- - -
-

Package serial

-
-
- -
- -
- - - - - -
- - - - diff --git a/android/doc/serial/package-tree.html b/android/doc/serial/package-tree.html deleted file mode 100644 index 6bf78cd..0000000 --- a/android/doc/serial/package-tree.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - -serial Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package serial

-
-
-

Class Hierarchy

- -

Enum Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/android/doc/serialized-form.html b/android/doc/serialized-form.html deleted file mode 100644 index 8416cd7..0000000 --- a/android/doc/serialized-form.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - -Serialized Form - - - - - - - -
- - - - - -
- - -
-

Serialized Form

-
-
- -
- -
- - - - - -
- - - - diff --git a/android/doc/stylesheet.css b/android/doc/stylesheet.css deleted file mode 100644 index 0aeaa97..0000000 --- a/android/doc/stylesheet.css +++ /dev/null @@ -1,474 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ -body { - background-color:#ffffff; - color:#353833; - font-family:Arial, Helvetica, sans-serif; - font-size:76%; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4c6b87; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4c6b87; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-size:1.3em; -} -h1 { - font-size:1.8em; -} -h2 { - font-size:1.5em; -} -h3 { - font-size:1.4em; -} -h4 { - font-size:1.3em; -} -h5 { - font-size:1.2em; -} -h6 { - font-size:1.1em; -} -ul { - list-style-type:disc; -} -code, tt { - font-size:1.2em; -} -dt code { - font-size:1.2em; -} -table tr td dt code { - font-size:1.2em; - vertical-align:top; -} -sup { - font-size:.6em; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:.8em; - z-index:200; - margin-top:-7px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - background-image:url(resources/titlebar.gif); - background-position:left top; - background-repeat:no-repeat; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:1em; - margin:0; -} -.topNav { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.bottomNav { - margin-top:10px; - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.subNav { - background-color:#dee3e9; - border-bottom:1px solid #9eadc0; - float:left; - width:100%; - overflow:hidden; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding:3px 6px; -} -ul.subNavList li{ - list-style:none; - float:left; - font-size:90%; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; -} -.navBarCell1Rev { - background-image:url(resources/tab.gif); - background-color:#a88834; - color:#FFFFFF; - margin: auto 5px; - border:1px solid #c9aa44; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader h1 { - font-size:1.3em; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 25px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:1.2em; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:1.0em; -} -.indexContainer h2 { - font-size:1.1em; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:1.1em; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:10px 0 10px 20px; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:25px; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #9eadc0; - background-color:#f9f9f9; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:1px solid #9eadc0; - border-top:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; - border-bottom:1px solid #9eadc0; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.contentContainer table, .classUseContainer table, .constantValuesContainer table { - border-bottom:1px solid #9eadc0; - width:100%; -} -.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { - width:100%; -} -.contentContainer .description table, .contentContainer .details table { - border-bottom:none; -} -.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ - vertical-align:top; - padding-right:20px; -} -.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, -.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, -.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, -.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { - padding-right:3px; -} -.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#FFFFFF; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - margin:0px; -} -caption a:link, caption a:hover, caption a:active, caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { - white-space:nowrap; - padding-top:8px; - padding-left:8px; - display:block; - float:left; - background-image:url(resources/titlebar.gif); - height:18px; -} -.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { - width:10px; - background-image:url(resources/titlebar_end.gif); - background-repeat:no-repeat; - background-position:top right; - position:relative; - float:left; -} -ul.blockList ul.blockList li.blockList table { - margin:0 0 12px 0px; - width:100%; -} -.tableSubHeadingColor { - background-color: #EEEEFF; -} -.altColor { - background-color:#eeeeef; -} -.rowColor { - background-color:#ffffff; -} -.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { - text-align:left; - padding:3px 3px 3px 7px; -} -th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { - background:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - text-align:left; - padding:3px 3px 3px 7px; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -td.colFirst, th.colFirst { - border-left:1px solid #9eadc0; - white-space:nowrap; -} -td.colLast, th.colLast { - border-right:1px solid #9eadc0; -} -td.colOne, th.colOne { - border-right:1px solid #9eadc0; - border-left:1px solid #9eadc0; -} -table.overviewSummary { - padding:0px; - margin-left:0px; -} -table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, -table.overviewSummary td.colOne, table.overviewSummary th.colOne { - width:25%; - vertical-align:middle; -} -table.packageSummary td.colFirst, table.overviewSummary th.colFirst { - width:25%; - vertical-align:middle; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:.9em; -} -.block { - display:block; - margin:3px 0 0 0; -} -.strong { - font-weight:bold; -} diff --git a/android/gradle.properties b/android/gradle.properties deleted file mode 100644 index 1d3591c..0000000 --- a/android/gradle.properties +++ /dev/null @@ -1,18 +0,0 @@ -# Project-wide Gradle settings. - -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. - -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html - -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -# Default value: -Xmx10248m -XX:MaxPermSize=256m -# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 - -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true \ No newline at end of file diff --git a/android/gradle/wrapper/gradle-wrapper.jar b/android/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index 05ef575..0000000 Binary files a/android/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index c25cec5..0000000 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Wed Oct 21 11:34:03 PDT 2015 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip diff --git a/android/gradlew b/android/gradlew deleted file mode 100755 index 9d82f78..0000000 --- a/android/gradlew +++ /dev/null @@ -1,160 +0,0 @@ -#!/usr/bin/env bash - -############################################################################## -## -## Gradle start up script for UN*X -## -############################################################################## - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS="" - -APP_NAME="Gradle" -APP_BASE_NAME=`basename "$0"` - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD="maximum" - -warn ( ) { - echo "$*" -} - -die ( ) { - echo - echo "$*" - echo - exit 1 -} - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -case "`uname`" in - CYGWIN* ) - cygwin=true - ;; - Darwin* ) - darwin=true - ;; - MINGW* ) - msys=true - ;; -esac - -# Attempt to set APP_HOME -# Resolve links: $0 may be a link -PRG="$0" -# Need this for relative symlinks. -while [ -h "$PRG" ] ; do - ls=`ls -ld "$PRG"` - link=`expr "$ls" : '.*-> \(.*\)$'` - if expr "$link" : '/.*' > /dev/null; then - PRG="$link" - else - PRG=`dirname "$PRG"`"/$link" - fi -done -SAVED="`pwd`" -cd "`dirname \"$PRG\"`/" >/dev/null -APP_HOME="`pwd -P`" -cd "$SAVED" >/dev/null - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD="$JAVA_HOME/jre/sh/java" - else - JAVACMD="$JAVA_HOME/bin/java" - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD="java" - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then - MAX_FD_LIMIT=`ulimit -H -n` - if [ $? -eq 0 ] ; then - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then - MAX_FD="$MAX_FD_LIMIT" - fi - ulimit -n $MAX_FD - if [ $? -ne 0 ] ; then - warn "Could not set maximum file descriptor limit: $MAX_FD" - fi - else - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" - fi -fi - -# For Darwin, add options to specify how the application appears in the dock -if $darwin; then - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" -fi - -# For Cygwin, switch paths to Windows format before running java -if $cygwin ; then - APP_HOME=`cygpath --path --mixed "$APP_HOME"` - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` - JAVACMD=`cygpath --unix "$JAVACMD"` - - # We build the pattern for arguments to be converted via cygpath - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` - SEP="" - for dir in $ROOTDIRSRAW ; do - ROOTDIRS="$ROOTDIRS$SEP$dir" - SEP="|" - done - OURCYGPATTERN="(^($ROOTDIRS))" - # Add a user-defined pattern to the cygpath arguments - if [ "$GRADLE_CYGPATTERN" != "" ] ; then - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" - fi - # Now convert the arguments - kludge to limit ourselves to /bin/sh - i=0 - for arg in "$@" ; do - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option - - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` - else - eval `echo args$i`="\"$arg\"" - fi - i=$((i+1)) - done - case $i in - (0) set -- ;; - (1) set -- "$args0" ;; - (2) set -- "$args0" "$args1" ;; - (3) set -- "$args0" "$args1" "$args2" ;; - (4) set -- "$args0" "$args1" "$args2" "$args3" ;; - (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; - (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; - (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; - (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; - (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; - esac -fi - -# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules -function splitJvmOpts() { - JVM_OPTS=("$@") -} -eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS -JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" - -exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" diff --git a/android/gradlew.bat b/android/gradlew.bat deleted file mode 100644 index 8a0b282..0000000 --- a/android/gradlew.bat +++ /dev/null @@ -1,90 +0,0 @@ -@if "%DEBUG%" == "" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS= - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto init - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto init - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:init -@rem Get command-line arguments, handling Windowz variants - -if not "%OS%" == "Windows_NT" goto win9xME_args -if "%@eval[2+2]" == "4" goto 4NT_args - -:win9xME_args -@rem Slurp the command line arguments. -set CMD_LINE_ARGS= -set _SKIP=2 - -:win9xME_args_slurp -if "x%~1" == "x" goto execute - -set CMD_LINE_ARGS=%* -goto execute - -:4NT_args -@rem Get arguments from the 4NT Shell from JP Software -set CMD_LINE_ARGS=%$ - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% - -:end -@rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega diff --git a/android/library/library.iml b/android/library/library.iml deleted file mode 100644 index f9fb149..0000000 --- a/android/library/library.iml +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/android/library/src/main/jniLibs/armeabi-v7a/gdb.setup b/android/library/src/main/jniLibs/armeabi-v7a/gdb.setup deleted file mode 100644 index f8072f7..0000000 --- a/android/library/src/main/jniLibs/armeabi-v7a/gdb.setup +++ /dev/null @@ -1,3 +0,0 @@ -set solib-search-path /mnt/workspace/serial/android/library/src/main/obj/local/armeabi-v7a -source /mnt/android/android-ndk-r10c/prebuilt/common/gdb/common.setup -directory /mnt/android/android-ndk-r10c/platforms/android-16/arch-arm/usr/include /mnt/android/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++ /mnt/workspace/serial/android/library/src/main/jni/libs/nativehelper/include/nativehelper /mnt/android/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.6/include /mnt/android/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi-v7a/include /mnt/android/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.6/include/backward /mnt/workspace/serial/android/library/src/main/jni/include diff --git a/android/library/src/main/jniLibs/armeabi-v7a/gdbserver b/android/library/src/main/jniLibs/armeabi-v7a/gdbserver deleted file mode 100755 index d1d1096..0000000 Binary files a/android/library/src/main/jniLibs/armeabi-v7a/gdbserver and /dev/null differ diff --git a/android/library/src/main/jniLibs/armeabi-v7a/libserial.so b/android/library/src/main/jniLibs/armeabi-v7a/libserial.so deleted file mode 100755 index 4042fa2..0000000 Binary files a/android/library/src/main/jniLibs/armeabi-v7a/libserial.so and /dev/null differ diff --git a/android/library/src/main/jniLibs/x86/gdb.setup b/android/library/src/main/jniLibs/x86/gdb.setup deleted file mode 100644 index 1fc8c7e..0000000 --- a/android/library/src/main/jniLibs/x86/gdb.setup +++ /dev/null @@ -1,3 +0,0 @@ -set solib-search-path /mnt/workspace/serial/android/library/src/main/obj/local/x86 -source /mnt/android/android-ndk-r10c/prebuilt/common/gdb/common.setup -directory /mnt/android/android-ndk-r10c/platforms/android-16/arch-x86/usr/include /mnt/android/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++ /mnt/workspace/serial/android/library/src/main/jni/libs/nativehelper/include/nativehelper /mnt/android/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.6/include /mnt/android/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.6/libs/x86/include /mnt/android/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.6/include/backward /mnt/workspace/serial/android/library/src/main/jni/include diff --git a/android/library/src/main/jniLibs/x86/gdbserver b/android/library/src/main/jniLibs/x86/gdbserver deleted file mode 100755 index 270f5bf..0000000 Binary files a/android/library/src/main/jniLibs/x86/gdbserver and /dev/null differ diff --git a/android/library/src/main/jniLibs/x86/libserial.so b/android/library/src/main/jniLibs/x86/libserial.so deleted file mode 100755 index 4e07a11..0000000 Binary files a/android/library/src/main/jniLibs/x86/libserial.so and /dev/null differ diff --git a/android/sample/sample.iml b/android/sample/sample.iml deleted file mode 100644 index f83ec2c..0000000 --- a/android/sample/sample.iml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/include/serial/impl/unix.h b/include/serial/impl/unix.h index c0c6cbc..0fb38f2 100644 --- a/include/serial/impl/unix.h +++ b/include/serial/impl/unix.h @@ -44,12 +44,6 @@ #include -// Fix missing API tcdrain for Android API earlier than 21 -// http://stackoverflow.com/questions/26104961/tcdrain-function-call-with-ndk-toolchain-for-android -#if !defined(tcdrain) -#define tcdrain(fd) ioctl(fd, TCSBRK, 1) -#endif - namespace serial { using std::size_t; diff --git a/src/impl/unix.cc b/src/impl/unix.cc index 0ff251e..1431ea1 100755 --- a/src/impl/unix.cc +++ b/src/impl/unix.cc @@ -46,6 +46,12 @@ #include #endif +// Fix missing API tcdrain for Android API earlier than 21 +// http://stackoverflow.com/questions/26104961/tcdrain-function-call-with-ndk-toolchain-for-android +#if defined(__ANDROID__) && __ANDROID_API__ < 21 +#define tcdrain(fd) ioctl(fd, TCSBRK, 1) +#endif + using std::string; using std::stringstream; using std::invalid_argument;