I am building an SVG interface (with Javascript) for client side control
of some hardware. The svg will be hosted on a micro PC
(http://www.picotux.com/indexe.html). It runs a uClinux OS with GCC 3.4.4
for C++ (and Fortran??) and a Web Server and Telnet and not much more.
My SVG seems to be working fine and using Firefox's DOM browser I can see
it change. What I can't do is find a way to capture these DOM state
changes. All I need is to capture timer events from my SVG and convert
them into CRON events in a config file and use CRON to kick a small
program on/off appropriately. This will in-turn turn a serial port pin
high or low - this controls a relay, which turns my hardware on and off at
the set times. Simple really :o)
Obviously, this needs to all be very lightweight. I don't think there's
room for a JVM and I don't know C++. So, if anyone knows a simple
solution to saving DOM state or wants to volunteer to program it in C++
for me, I'd be very happy.
Thanks in advance,
Greg