Home/Support/Support Forum/Twisted on ConnectPort X2?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Twisted on ConnectPort X2?

0 votes
I wonder, with a bit of porting effort would Twisted (http://twistedmatrix.com/trac/) run on the ConnectPort? We're using Twisted for a number of other projects - it is a beautiful framework for writing asynchronous networking apps in python.
asked Apr 23, 2008 in 3rd Party Python and API development in other Languages by futnuh New to the Community (14 points)

Please log in or register to answer this question.

5 Answers

0 votes
The ConnectPort Documentation says that it provides Python 2.4.3, although without all standard modules. In addition, some standard modules have modified behavior.

Twisted has versions that will run on Python 2.4, but I didn't see any info on required modules. On the other hand, if you're enterprising enough to get Twisted into the box, you can also bundle up other required modules (See the Digi zb_serial_net script from the demo CD and all the modules they bundled in). As long as the code is all native Python (i.e., no C extensions), you should be OK. You might be a bit short on horsepower through...
answered Apr 24, 2008 by beaststwo New to the Community (10 points)
0 votes
Regarding python and what scripts we offer, the following link might be useful:

answered Apr 25, 2008 by michaelt Veteran of the Digi Community (759 points)
0 votes
An even better link! The Digi Python mediawiki: http://www.digi.com/wiki/python/index.php/Main_Page

Note: The mediawiki is always evolving, check back frequently!
answered Oct 23, 2008 by Admin Veteran of the Digi Community (732 points)
0 votes
Any success with Twisted on the ConnectPort?
answered Mar 7, 2009 by coherence New to the Community (1 point)
0 votes
We didn't pursue this further. Ended up just relaying our non-critical network traffic "back to base" with UDP ... where of course we are using twisted. We might revisit Twisted on ConnectPort X2 in the future.
answered Mar 8, 2009 by futnuh New to the Community (14 points)