SQL Client
Beagle
Posts: 7
I've my propeller successfully talking to a couple of sensors and I've it also wired to a WIZ105SR (UART to ethernet module). I'm able to netcat from my linux computer to the WIZ105SR which passes plain text back and forth (puTTY from my Windows computers also works). viola!
My next milestone is to try to log sensor data to my SQL Anywhere 10 database. I have the SQL server running on a XP computer with a static-private IP address.
Does anyone know how I might create a SQL connection directly to the database server from the propeller? (I know I can create a small program in the XP computer to act as a middleman, but I think having the propeller talk directly to the database would be more elegant).
My next milestone is to try to log sensor data to my SQL Anywhere 10 database. I have the SQL server running on a XP computer with a static-private IP address.
Does anyone know how I might create a SQL connection directly to the database server from the propeller? (I know I can create a small program in the XP computer to act as a middleman, but I think having the propeller talk directly to the database would be more elegant).
Comments
You could even store the SQL statements in PHP and the propeller only has to send the data. With the XAMPP running you could also visualize the sensor-data, so you'd only need a browser to check the data.
I think from propeller point of view this is more elegant, because it shifts workload to the PC, where you usually have more horsepower ;o)
I know that SQL Anywhere supports a variety of clients like ASP.NET and PHP so the service would be trivial to implement. (I know you said you didn't want to implement a middleman, but it's by far the best way in this case.)
Bill