digidotcom / xbee-java

Set of Java APIs to interact with Digi International's XBee radio frequency modules.
Mozilla Public License 2.0
80 stars 56 forks source link

RXTX Version MIsmatch #158

Open aylashiv opened 2 years ago

aylashiv commented 2 years ago

Hi ,

I'm running Digi Java Library on Beagle Bone Balck, using UART1 for which I have connected the RX, TX of the Xbee, when I run My jar file by giving the port as /dev/ttyO1 or / dev/ttyS1 it throws this Error.

I've Changed to ttyS1 as well but the same error is throwing.

2021-08-03 11_19_48 : PORT: /dev/ttyS1 WARNING: RXTX Version mismatch Jar version = RXTX-2.2pre1 native lib Version = RXTX-2.2pre2 2021-08-03 11_19_59 MethodName: Serialcheck lineno:3150 info:Error Threadname:main description:Could not determine operating mode. Ca$ at com.digi.xbee.api.AbstractXBeeDevice.open(AbstractXBeeDevice.java:3150) at com.digi.xbee.api.XBeeDevice.open(XBeeDevice.java:135) at digimeshgateway.ReceiveAndSendMessage.serialcheck(ReceiveAndSendMessage.java:662) at digimeshgateway.ReceiveAndSendMessage.setups(ReceiveAndSendMessage.java:172) at digimeshgateway.ReceiveAndSendMessage.main(ReceiveAndSendMessage.java:3404) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:61)