[Tinyos-help] Problem in getting message content
YIP Chi Chung
cs_yccaa at stu.ust.hk
Wed Feb 7 06:44:24 PST 2007
Hi,
I am implementing a test program which nodes will send a message with node
address, a number(will increment by 1 and send every second) and hop count
in it. However, when I try to use java application to get the message
content. The result is like this.
e.g.
2 2 0
2 2 1
2 2 2
2 2 3
2 2 4
The first column is node address, second column is number, third column is
hop count
my expected result should be:
2 0 0
2 1 0
2 2 0
2 3 0
2 4 0
I am using tmote. Here is my code. I really have no idea on how to solve it.
Thank you very much
Chung
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apps.rar
Type: application/octet-stream
Size: 7304 bytes
Desc: not available
Url : http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070207/885bc410/apps-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: java.rar
Type: application/octet-stream
Size: 4273 bytes
Desc: not available
Url : http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070207/885bc410/java-0001.obj
More information about the Tinyos-help
mailing list