A B E I M O P R S V

A

ascHex(byte[], byte) - Method in class vga_1_4
 

B

blockThread() - Method in class vga_1_4
method to block a thread

E

echo(InputStream, OutputStream) - Method in class vga_1_4
Method that reads the input stream and echo's the data out the uart.
If no data is available it will block waiting for incomming data What we want here is to look for a variable length packet from the LCD, build up an array until the packet is complete, then process it and start all over.

I

initializeSerialPort() - Method in class vga_1_4
Method to initialize the serial port (9600N81)and set up the input and output streams.
inStream - Variable in class vga_1_4
reference to the serial input stream

M

main(String[]) - Static method in class vga_1_4
Main entry point for the program.
Initializes the serial port, sends a message, then blocks.
mElbow - Variable in class vga_1_4
 
msgIndex - Variable in class vga_1_4
 
msgSize - Variable in class vga_1_4
Number of bytes total in a message from the LCD.
msgValue - Variable in class vga_1_4
This is the value of the message if it is a byte, such as LCD doing a get byte or sending an RPC 03, in this case the value is 0x03.
mWrist - Variable in class vga_1_4
 

O

outStream - Variable in class vga_1_4
reference to the serial output stream

P

processMsg() - Method in class vga_1_4
Process the message, which exists in readBuffer

R

readBuffer - Static variable in class vga_1_4
The incoming data buffer, will hold request from the LCD

S

sendMessage(String) - Method in class vga_1_4
Sends a string out the serial port.
serialEvent(SerialPortEvent) - Method in class vga_1_4
Javax.comm will call this method whenever a Data Available event occurs

V

vga_1_4 - class vga_1_4.
Example class that uses javax.comm and serial events This class implements SerialPortEventListener in order to receive the DataAvailable event.
vga_1_4() - Constructor for class vga_1_4
 

A B E I M O P R S V