I’ve been working on a project with XBee communication boards which utilize USB connection to transmitt and receive messages. The program is written in Java and uses RxTx library 2.2pre2. I’ve written tested the program on PC running Ubuntu 12.04LTS and everything works great(i can send and receive messages both directions), when i deployed the program to BBxM this is when the troubles start. My BBxM is running Ubuntu 12.10, with java 1.7. I am a pretty new to Java and total n00b in BB so i’m having trouble running my program.
My XBee board is connected to USB port as /dev/ttyUSB0 just like it was on my PC. So the same configuration should work for both platforms, but when the RxTx instance is initialised i get error that it cannot find /dev/ttyUSB0.
First thing that crossed my mind was rights but rights are already 777 at least for the testing purpose. I’ve tried few versions of RxTx and every one has the same problem. I haven’t done any additional setup of the ports so i’m wondering is there some setup i’ve missed to make the program behave the way it does now.
Any help is greatly appreceated.