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