public class SerialPortJNI extends JNIWrapper
Constructor and Description |
---|
SerialPortJNI() |
Modifier and Type | Method and Description |
---|---|
static void |
serialClear(byte port,
IntBuffer status) |
static void |
serialClose(byte port,
IntBuffer status) |
static void |
serialDisableTermination(byte port,
IntBuffer status) |
static void |
serialEnableTermination(byte port,
char terminator,
IntBuffer status) |
static void |
serialFlush(byte port,
IntBuffer status) |
static int |
serialGetBytesRecieved(byte port,
IntBuffer status) |
static void |
serialInitializePort(byte port,
IntBuffer status) |
static int |
serialRead(byte port,
ByteBuffer buffer,
int count,
IntBuffer status) |
static void |
serialSetBaudRate(byte port,
int baud,
IntBuffer status) |
static void |
serialSetDataBits(byte port,
byte bits,
IntBuffer status) |
static void |
serialSetFlowControl(byte port,
byte flow,
IntBuffer status) |
static void |
serialSetParity(byte port,
byte parity,
IntBuffer status) |
static void |
serialSetReadBufferSize(byte port,
int size,
IntBuffer status) |
static void |
serialSetStopBits(byte port,
byte stopBits,
IntBuffer status) |
static void |
serialSetTimeout(byte port,
float timeout,
IntBuffer status) |
static void |
serialSetWriteBufferSize(byte port,
int size,
IntBuffer status) |
static void |
serialSetWriteMode(byte port,
byte mode,
IntBuffer status) |
static int |
serialWrite(byte port,
ByteBuffer buffer,
int count,
IntBuffer status) |
getPort, getPortWithModule
public static void serialInitializePort(byte port, IntBuffer status)
public static void serialSetBaudRate(byte port, int baud, IntBuffer status)
public static void serialSetDataBits(byte port, byte bits, IntBuffer status)
public static void serialSetParity(byte port, byte parity, IntBuffer status)
public static void serialSetStopBits(byte port, byte stopBits, IntBuffer status)
public static void serialSetWriteMode(byte port, byte mode, IntBuffer status)
public static void serialSetFlowControl(byte port, byte flow, IntBuffer status)
public static void serialSetTimeout(byte port, float timeout, IntBuffer status)
public static void serialEnableTermination(byte port, char terminator, IntBuffer status)
public static void serialDisableTermination(byte port, IntBuffer status)
public static void serialSetReadBufferSize(byte port, int size, IntBuffer status)
public static void serialSetWriteBufferSize(byte port, int size, IntBuffer status)
public static int serialGetBytesRecieved(byte port, IntBuffer status)
public static int serialRead(byte port, ByteBuffer buffer, int count, IntBuffer status)
public static int serialWrite(byte port, ByteBuffer buffer, int count, IntBuffer status)
public static void serialFlush(byte port, IntBuffer status)
public static void serialClear(byte port, IntBuffer status)
public static void serialClose(byte port, IntBuffer status)
Copyright © 2015. All rights reserved.