Re: [Tinyos-help] How to store data collected by a telosb network in a db?

2011-11-30 Thread András Bíró
Hi Georgia, First of all, you should use SerialAMSender/SerialAMReceiver components for serial communication on the mote (printf converts the data to string on the mote, and you will need it as a number on the pc). Then, if you're familiar with java, check the apps/test/TestSerial application, and

Re: [Tinyos-help] How to store data collected by a telosb network in a db?

2011-11-30 Thread Geo Gkolfin
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 wrote: > By printf() I guess you're using C, > here's the f

Re: [Tinyos-help] How to store data collected by a telosb network in a db?

2011-11-30 Thread Michael Schippling
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

[Tinyos-help] How to store data collected by a telosb network in a db?

2011-11-30 Thread Geo Gkolfin
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 databa