Sander sent me a
link from Sytse. So I could know that Sytse was working with our software
too. I was reading his documentation (I recommend you to read it too
before you read this report). His "daemon" has the name
"PM2D".http://pm2erglib.sourceforge.net
Hi Sytse! I was
reading your documentation. It is very interesting and completed. You were
working a lot!
"This is only the first part, I've planned to do a lot more, Now it
is just one function (like display something or ask something) at the
time, next will be more complicated functions, like 'setup a workout for
2000 meters and give me all measurements and results when it is finished'.
After that, I think I will make the web interface a bit better, so you
could setup workouts with just one click on a browser or write your own
program to do it".
Are you
programming a library for the C2?. I saw almost all the functions
"Well not really a library, it's more like a service process that
could always be running in the background. Maybe parts could be a library,
but the interface would have to be different".
But your
program is only running under Unix. Could I use it in the future like a
dll for windows?
"No. Most of the code is pretty basic C stuff, so it should be easy
to port, but I'm using the ptreads library to do multitasking, and I don't
know how to do that on Windows (and I don't have compilers and stuff for
Windows). It should be possible, though".
"This is one of the reasons a couple of guys wanted to start
programming in Java, because it would run on Windows, Unix/Linux, and even
Mac. The problem with Java is that there is no standard library for serial
ports (Sun's version only runs on Solaris, the Windows version only runs
on Windows, and here is no Linux version) so we couln't build the driver
part. So I said,
let's make the driver in C and maybe do the GUI stuff in Java later".
You are using HTTP as prococol. It means I could ask the unit from another
computer or from internet.
"Yep.
Basically, the PC running pm2d could be anywhere on the Internet. You
could just take your browser and send commands to my rower (only that's
not much fun if I'm not rowing... but maybe we could do this on Sunday,
before or after racing)"
What are the system
requirements to test your software?
"Currently, it should run Linux 2.4.x (SuSe 7.2 or Redhat 7(latest) should be fine. I think it will also run on 2.2kernel versions, but I
haven't tested this yet (I'll have to reinstall one of my PC's for this). Later, it
should run on probably