Testing out the PPD42 Air Quality Sensor, with an MSP430 Launchpad and graphing the data with GNUplot.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

47 lines
1.3 KiB

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