View Full Version : VNC server for the propeller,possible?

03-22-2012, 07:41 AM
Beau's AndroidVNC recommendation has me thinking - how hard would it be to write a VNC server (http://en.wikipedia.org/wiki/Virtual_Network_Computing) application for the propeller?

VNC ("Virtual Network Computing") (http://en.wikipedia.org/wiki/Virtual_Network_Computing) relays the display buffer of the server to a viewer, and relays the keyboard/mouse events from the viewer back to the host (ie the Propeller).

VNC is based on the RFB protocol (http://en.wikipedia.org/wiki/RFB_protocol) initially developed by Olivetti. At first glance It doesn't look all that scary (at least version 3.3 (http://grox.net/doc/apps/vnc/rfbproto.pdf)), but perhaps there is devil in the detail. Does anyone have any experience with the protocol?

It would be possible to use an Ethernet<>Serial converter to handle the network side, so the propeller would just have to handle the serial stream and encoding/decoding. The Spinneret may also be a possibility.

There are VNC hosts and viewers available for pretty much every platform, including smartphones.

03-22-2012, 11:34 AM
I think this is like "remote desktop" from a PC, only cross platform, right?
I did something similar for "PropMonitor", but only transmitted the screen buffer, not the raw pixel data.
Sending the screen as pixels would be too slow, I think...

But, something like this that also sent back mouse and keyboard input is a great idea.