Ok. Well I guess no one has messed with networking?
Anyone?
*crickets*
Oh well, I went ahead and gave it a try. I was able to get Flowstone working with the network client and server primitives with just a little bit of tinkering.
Although this is also Flowstone oriented testing, it also may be of interest to anyone with Raspberry Pis, Parallax Propellers, and Phidget boards.
I used python to set up a client and server, and connected to each from flowstone with a client and server also at the same time.
Although I'm a definite noob with Python, it wasn't too horrible. In case anyone cares, I will post my test Flowstone code. The python code and others can be gotten from the links.
So far on the Raspberry Pi I've managed to:
1) setup a headless SSH connection using Putty. SSH is enabled in Wheezy by default. This is the first time I've really started using SSH into a remote computer. It's pretty darn cool.
2) Setup wireless comms to the Pi (much easier with Wheezy now).
3) Setup a VNC server in the Pi and connected via a VNC client. No monitor anyone?
4) Setup the Phidget libraries and webservice. I really missed my SBC2, but now I almost have everything I had working with that. I can connect to them from a PC, in particular Flowstone orthe control panel. Webservice was most tricky part for me because my PC client driver was out of date...
5) Setup a webcamera and streamed it from the Pi. Did this two ways, ended up using the second. Displayed in Flowstone using the video streamin primitive. Still a bit to slow for my taste (1-2sec lag)
6) Setup network client and server interfaces to Pi. Python on the Pi is really cool. I probably should be learning Ruby instead, but there is just so much more community involvement with Python on the Pi. Wish I could use Python in Flowstone
7) Successfully compiled and uploaded Propeller spin code from the Pi to a Propeller connected via USB. This was through the ttyUSB0 serial connection though. Wonderful folks over on Parallax's forums helped me with that. Someone thoughtfully compiled Catalina on the Pi and I just copied the binaries into the Pi.
Anyways. Thats what I've managed to get running between Flowstone and the Pi.
Links to that stuff if anyone is interested:
Setting up an SSH connection to the Pi
http://learn.adafruit.com/adafruits-raspberry-pi-lesson-6-using-ssh/ssh-under-windowsmjpg streamer info:
http://www.instructables.com/id/Create-an-internet-controlled-robot-using-Livebots/step5/Get-the-webcam-streamer-for-Raspberry-Pi/python network client server guide:
http://pymotw.com/2/socket/tcp.htmlPi to Propeller Compiling and uploading:
http://forums.parallax.com/showthread.php/141392-Raspberry-Pi-For-Propeller-Development?p=1112603&viewfull=1#post1112603Phidgets on the Pi (in order to be run from Flowstone
http://www.phidgets.com/docs/OS_-_LinuxWireless on the Pi:
http://pingbin.com/2012/12/setup-wifi-raspberry-pi/VNC server /client setup
http://learn.adafruit.com/adafruit-raspberry-pi-lesson-7-remote-control-with-vnc/installing-vnc