Hi, You can have a java application to read what comes into the coordinator and then connect to probably a database like MySQL. There are so many examples for java application in TinyOS in the apps section.
The other way that you can write the received data to a text file is by using the 'Listen' or 'MsgReader' something like: java net.tinyos.tools.Listen > coordinator.txt OR java net.tinyos.tools.MsgReader CoordinatorMsg > coordinator.txt (where Coordinator Msg is the message you generate in your java application) Cheers, Varun Jain From: [email protected] [mailto:[email protected]] On Behalf Of Anh Dung Vu Sent: Wednesday, 8 July 2009 10:09 PM To: [email protected] Subject: [Tinyos-help] (no subject) Hi all! I'm a new member in WSN, NesC and TinyOS, I used Hmote from hybus company in Korea. I wrote a basic program to send and receive between 2 device (coordinator and common node), but now I have problem, I don't know how to save or transfer information what coordinator received to txt file using NesC programming. If anyone have some suggestion or answer for this thing, please let's me know. I really need some help. Thanks in advance. Please help me in a basic step with txt file. ________________________________ Windows Live(tm): Keep your life in sync. Check it out! <http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_01200 9>
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
