By printf() I guess you're using C,
here's the first hit I got for "mysql C api":
http://dev.mysql.com/doc/refman/5.0/en/c.html
If your TOS interface is in Java, look into JDBC.
MS
Geo Gkolfin wrote:
> Hello!
> I have a telosb network that sends data periodically to a telosb
> basestation connected with a pc (via usb). I need to store the data that
> the basestation receives in a database. So far, I simply use printf in
> order to see the received data. I have mysql installed, and I could
> create a database, but I do not know how to use the data received by the
> basestation in order to create an INSERT query that will be performed
> automatically. Can someone explain the general idea? (I use xubuntos)
> Thank you all in advance!
> Georgia
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help