Home/Support/Support Forum/API mode 1 not supported by ConnectPort X2?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

API mode 1 not supported by ConnectPort X2?

0 votes
Thanks - got me started, but I hit a wall. I downloaded "Digi ESP for Python_2.3" then loaded the "Xbee HelloWorld" example and was successful in having the ConnectPort X2 send a "Hello, World" to my Xbee 900HP, after setting the correct destination. However, I could not do the reverse, i.e. send data from the Xbee 900HP to the ConnectPort X2. I'm using API1 mode on the node which is not supported by the ConnectPort X2 firmware I'm using (2.17.1.2) see https://www.digi.com/support/productdetail?pid=3567&type=firmware . I guess I'll try using transparent mode in my application. The alternative is to use an earlier firmware, but then python does not look available for use so I'm then snookered and will have to use another processor to move the data onwards. Thanks for the help.
related to an answer for: ConnectPort X2 with Xbee 900HP Digimesh
asked Dec 22, 2017 in Digi Remote Manager by Hussat New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
I think you are a little confused. The use of API mode or transparent mode only affects the data flowing in and out of the UART of the LOCAL node. It has nothing to do what or how it is going to be received on the remote side.

If you want to receive data on a Gateway, then you need to tell the gateway to read the xbee's port and probably put that into a loop till all of the data has been read.
recvfrom:
answered Dec 22, 2017 by mvut Veteran of the Digi Community (14,807 points)
...