[Tinyos-help] (no subject)

Varun Jain varun at spiderbox.com.au
Wed Jul 8 21:56:43 PDT 2009


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: tinyos-help-bounces at millennium.berkeley.edu
[mailto:tinyos-help-bounces at millennium.berkeley.edu] On Behalf Of Anh
Dung Vu
Sent: Wednesday, 8 July 2009 10:09 PM
To: tinyos-help at millennium.berkeley.edu
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> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090709/794d401e/attachment.htm 


More information about the Tinyos-help mailing list