Home/Support/Support Forum/Digi-Xbee python library: device.open()
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Digi-Xbee python library: device.open()

0 votes
Hello,

I'm a noob with Xbee products. I have a problem when using the library Digi-xbee
https://github.com/digidotcom/python-xbee

I try to use an example :
https://github.com/digidotcom/python-xbee/blob/master/examples/communication/ReceiveDataSample/ReceiveDataSample.py

But I have error during the "device.open()"
It says "TimeoutException" (in send_packet_sync_and_get_response)

Any advices ?

For info :
I have RaspberryPi3, I have plugged an Xbee S2C Digimesh 2.4Ghz with a sparkfun explorer.
On raspbian, I saw the sparkfun on '/dev/serial/by-id/usb.....' or on '/dev/ttyUSB0' (I use it in python)

In XCTU, the only settings I have changed is BAUD_RATE to 57600 and set API2
asked Nov 30, 2017 in Digi Remote Manager by tieum357 New to the Community (1 point)
recategorized Dec 1, 2017 by tieum357

Please log in or register to answer this question.

1 Answer

0 votes
this is resolved.
This was a bug with API2 mode.

https://github.com/digidotcom/python-xbee/issues/7
answered Dec 22, 2017 by tieum357 New to the Community (1 point)
...