Home/Support/Support Forum/Timeout Exception when opening local device at java lib

Timeout Exception when opening local device at java lib

0 votes
Hello im getting this exception when i try to launch my aplication on a remote rpi 2b. The xbee is an Xbee Pro S2c and is mounted in a usb explorer.

WARNING: RXTX Version mismatch
Jar version = RXTX-2.2pre1
native lib Version = RXTX-2.2pre2
ene 23, 2017 1:03:17 PM com.digi.xbee.api.XBeeDevice open
INFORMACIÓN: [/dev/ttyUSB0 - 9600/8/N/1/H] Opening the connection interface...
ene 23, 2017 1:03:17 PM com.digi.xbee.api.XBeeDevice open
INFORMACIÓN: [/dev/ttyUSB0 - 9600/8/N/1/H] Connection interface open.
ene 23, 2017 1:03:22 PM com.digi.xbee.api.XBeeDevice determineOperatingMode
GRAVE: There was a timeout while executing the requested operation.
com.digi.xbee.api.exceptions.TimeoutException: There was a timeout while executing the requested operation.
at com.digi.xbee.api.XBeeDevice.enterATCommandMode(XBeeDevice.java:426)
at com.digi.xbee.api.XBeeDevice.determineOperatingMode(XBeeDevice.java:376)
at com.digi.xbee.api.XBeeDevice.open(XBeeDevice.java:213)
at com.basecmdr.gui.MainFrame.main(MainFrame.java:1333)

ene 23, 2017 1:03:22 PM com.digi.xbee.api.XBeeDevice close
INFORMACIÓN: [/dev/ttyUSB0 - 9600/8/N/1/H] Connection interface closed.
Error opening port:/dev/ttyUSB0
Could not determine operating mode.

It worked well until today. The physical access to the device is restricted so i must try to repair it via software.
asked Jan 23, 2017 in ZigBee PRO Featureset (and legacy ZNet 2.5) by azabel86 New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
Is your radio in AT mode or API mode? Which firmware version is installed?
answered Jan 23, 2017 by mvut Veteran of the Digi Community (12,302 points)
Its in API mode 2 on firmware 405F
Are you working with Processing?
No, its plain java 8
...