No,my bad, I meant java.tools.printfClient. I do not know how to make the data received by the basestation "visible" from other applications, so I could handle them with a eg C program!
On Wed, Nov 30, 2011 at 7:23 PM, Michael Schippling <sc...@santafe.edu>wrote: > 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<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 >> Tinyos-help@millennium.**berkeley.edu<Tinyos-help@millennium.berkeley.edu> >> https://www.millennium.**berkeley.edu/cgi-bin/mailman/** >> listinfo/tinyos-help<https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help> >> >
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help