Go to advanced search

by nadgetastic
Fri Sep 15, 2017 5:56 pm
Forum: Java
Topic: Problem with gnu.io.RXTXCommDriver
Replies: 3
Views: 3591

Re: Problem with gnu.io.RXTXCommDriver

Don't use the RxTx library, it's outdated, unsupported and problematic to install.
Use http://fazecast.github.io/jSerialComm/ - same features without all the hassle of manually installing native binaries
by nadgetastic
Fri Sep 15, 2017 5:54 pm
Forum: Java
Topic: How to read and write in usb rs232?
Replies: 2
Views: 1500

Re: How to read and write in usb rs232?

Or use a general purpose library like http://fazecast.github.io/jSerialComm/
by nadgetastic
Fri Sep 15, 2017 5:51 pm
Forum: Java
Topic: RXTX library with RPI3
Replies: 4
Views: 3251

Re: RXTX library with RPI3

I realise this won't be welcome news to you but why are you using RxTx? It isn't supported by anyone anymore and has all kinds of installation issues. Take a look at http://fazecast.github.io/jSerialComm/ - it has almost identical features and methods but comes packaged with the binaries for Raspbia...
by nadgetastic
Sat Jun 03, 2017 11:52 am
Forum: C/C++
Topic: Cross compiling application that uses lsusb
Replies: 3
Views: 809

Re: Cross compiling application that uses lsusb

Solved arm-linux-gnueabihf-gcc 4ng3gManager.c -o 4ng3gManager -O3 -I$WORKDIR/include -L$WORKDIR/lib -L$WORKDIR/lib/arm-linux-gnueabihf \ -l:libudev.so.1 \ -l:libc.so.6 \ -l:libusb-1.0.so.0 \ -l:ld-linux.so.3
by nadgetastic
Fri Jun 02, 2017 11:33 pm
Forum: C/C++
Topic: Cross compiling application that uses lsusb
Replies: 3
Views: 809

Re: Cross compiling application that uses lsusb

Thanks topguy for the pointer and suggestion. I've followed your advice and copied over the contents of /lib to the vagrant build server. I then ran the following arm-linux-gnueabihf-gcc 4ng3gManager.c -o 4ng3gManager -O3 -I$WORKDIR/libusb -L$WORKDIR/lib -L$WORKDIR/lib/arm-linux-gnueabihf -DVERSION=...
by nadgetastic
Thu Jun 01, 2017 5:42 pm
Forum: Java
Topic: Serial Communication
Replies: 3
Views: 1347

Re: Serial Communication

If you want to do something more cross-platform, use JSerialComm - no messing about with RxTx dependencies and it's actively supported/developed
It wraps it's own native implementations and we have used it very successfully on enocean4j and j2mod.
by nadgetastic
Thu Jun 01, 2017 5:37 pm
Forum: C/C++
Topic: Cross compiling application that uses lsusb
Replies: 3
Views: 809

Cross compiling application that uses lsusb

Hi, After much head scratching and blundering about, I'm almost there with getting my 3g dongle manager application cross compiled. This is what I've done so far; Created a Vagrant host using ubuntu/trusty64 Downloaded and installed the latest raspberry pi tools from git Set a path to the correct cr...
by nadgetastic
Thu Jun 23, 2016 5:13 pm
Forum: Java
Topic: RXTX in raspberry pi Error please help me
Replies: 1
Views: 982

Re: RXTX in raspberry pi Error please help me

It means you haven't put the RXTX native library in the class path.

To be honest, don't bother continuing with this execrable library, switch to using jSerialComm, it will save you a lot of hassle, especially given that it loads the native library automatically for you.
by nadgetastic
Thu Mar 31, 2016 6:10 pm
Forum: Java
Topic: 9-bit Serial by way of parity bit
Replies: 8
Views: 6082

Re: 9-bit Serial by way of parity bit

Another tip - don't go near the nasty RxTxComm library - instead, take a look at using jSerialComm. This should give you everything you need along with embedded native ports for Pi in both hard and soft float variants. I'm getting vert positive results with the Modbus port here https://github.com/st...

Go to advanced search