History log of /frameworks/base/core/jni/android_hardware_SerialPort.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d3622e9e490191670d3dc7fa52b60e1efd575011 14-Oct-2011 Girts Folkmanis <girts@google.com> Disable output processing when opening serial port.

If post processing is not disabled, we end up translating LF to CRLF, which
makes binary protocols sad.
/frameworks/base/core/jni/android_hardware_SerialPort.cpp
7dbc4b457d2c2c6dd39fa445e7edd8109796f0a2 23-Sep-2011 Mike Lockwood <lockwood@android.com> Add SerialPort.sendBreak()

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/android_hardware_SerialPort.cpp
b01e8bf57b7492b77e3445db51471edcbadda75e 30-Aug-2011 Mike Lockwood <lockwood@android.com> New Serial Manager API:

SerialManager: provides access to serial ports
SerialPort: for reading and writing data to and from serial ports

IO with both array based and direct ByteBuffers is supported.

Accessing serial ports requires android.permission.SERIAL_PORT permission

Each platform must configure list of supported serial ports in the
config_serialPorts resource overlay
(this is needed to prevent apps from accidentally accessing the bluetooth
or other system UARTs).

In addition, the platform uevent.rc file must set the owner to the
/dev/tty* files to "system" so the framework can access the port.

Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/core/jni/android_hardware_SerialPort.cpp