Home  >  Support  >  Support Forum  >  How do I use my connectport to read the serial data from xbees?
Notice! We've recently migrated to using a new forum, we hope you enjoy it. If you are an existing member and this is your first time visiting our new forum, please reset your password to be able to sign in.
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How do I use my connectport to read the serial data from xbees?

0 votes
I have 3 xbees connected to products we make. The box we make sends an odometer value to the RX pin on the xbee. Doing local testing with an xbee set as a coordinator we know that it does what we want it to do. The xbees are now connected to a connectport x2 linked to the device cloud. How do I read that serial value in the device cloud?
asked Apr 10 in Device Cloud by tdinc1234 New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
You'll need the xbee to send the data to the xbee inside of the X2. Then the data needs to get sent to the cloud.

In order to receive the data on the X2 you'll need a python application listening on a zigbee socket. You'll do a socket recv() to get the data. In order to forward the data to the cloud you'll need use one of it's interfaces. Data Streams is pretty common:
http://ftp1.digi.com/support/documentation/html/90002008/90002008_N/index.htm#Programming%20Topics/Data%20Streams.htm%3FTocPath%3DDevice%20Cloud%20Programming%20Guide|Data%20Streams|_____0

Data Files is another method:
http://ftp1.digi.com/support/documentation/html/90002008/90002008_N/index.htm#Programming%20Topics/Data%20Files.htm%3FTocPath%3DDevice%20Cloud%20Programming%20Guide|_____18
answered Apr 11 by kjensen8 Veteran of the Digi Community (468 points)
Contact a Digi expert and get started today! CONTACT US
...