| 1 |
BeOS serial support is in the early stages. configure and the resulting |
| 2 |
Makefile should work properly. Initial readbyte/writebyte type support is |
| 3 |
included. |
| 4 |
|
| 5 |
Test.java in contrib/ works on BeOS. |
| 6 |
|
| 7 |
rxtx.proj in contrib/ is included for people using the IDE that BeOS uses. |
| 8 |
|
| 9 |
|
| 10 |
Initially we tried to use the standard POSIX functions to get BeOS working. It |
| 11 |
became obvious the BeOS kernel API (See Serial.h on BeOS) would have to be |
| 12 |
used to get Events working. With simple build and read/write functionality |
| 13 |
we are releasing the work in case anyone wants to help contribute to the |
| 14 |
project. |
| 15 |
|
| 16 |
src/SerialImp.cpp is the BeOS support. |
| 17 |
|
| 18 |
List of functions ported: (Thanks to Brian Hindman) |
| 19 |
|
| 20 |
========================= |
| 21 |
|
| 22 |
RXTXPort.open |
| 23 |
RXTXPort.nativeClose |
| 24 |
RXTXPort.nativeSetSerialPortParams |
| 25 |
translate_speed |
| 26 |
translate_data_bits |
| 27 |
translate_stop_bits |
| 28 |
translate_parity |
| 29 |
RXTXPort.writeByte |
| 30 |
RXTXPort.writeArray (untested) |
| 31 |
RXTXPort.drain |
| 32 |
RXTXPort.isDSR |
| 33 |
RXTXPort.isCD |
| 34 |
RXTXPort.isCTS |
| 35 |
RXTXPort.isRI |
| 36 |
RXTXPort.isRTS (not available in BeOS) |
| 37 |
RXTXPort.setRTS |
| 38 |
RXTXPort.setDSR (not available in BeOS) |
| 39 |
RXTXPort.isDTR (not available in BeOS) |
| 40 |
RXTXPort.setDTR |
| 41 |
RXTXPort.readByte (untested) |
| 42 |
RXTXPort.nativeavailable |
| 43 |
RXTXPort.setflowcontrol |
| 44 |
get_java_var |
| 45 |
throw_java_exception |
| 46 |
report |
| 47 |
|