Hej!

I am using UCB,telosb and I need to use tinyDB, as I know that tinyDB is in 
tinyos 1.1 not tinyos 2.0. I need help, how I can use tinyDB with telosb.

thanks


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--- Begin Message ---
Hi,

I attempted to simulate TinyDBMain with TOSSIM, but it failed. The simulator 
works, and TinyDBMain runs. Commands can be sent from the base station to other 
network nodes and sampling commences, but data are never returned to the base 
station.

I am using task-tinydb-1.1.3 and tried 3 different versions of tinyos (1.1.15, 
1.1.7, and 1.1.10), none worked.  

I have found similar questions posted to the mailing list, but the suggested 
causes or solutions do not apply to my problem.

I followed the build instructions precisely and encountered only one warning 
during the build process (when building BaseTOSMsg in 
tools/java/net/tinyos/message)

warning: Cannot determine AM type for TOS_Msg

        (Looking for definition of AM_TOS_MSG)

I added
enum {
AM_TOS_MSG = 367
};
to /opt/tinyos-1.x/tos/types/AM.h to eliminate this warning and completed the 
build process.

I also tried it with MicaZ motes, still, no data are returned.

I used TinyViz to monitor the network. All the nodes kept broadcasting 
messages, red LED on mote 0 is blinking,
green LEDs on other motes are blinking, yellow LEDs on all the motes are 
blinking according to sampling period.

Any idea what I did wrong? I will appreciate your help.

Thanks,
Lan 
_________________________________________________________________
Windows Live Photo gallery 数码相机的超级伴侣,轻松管理和编辑照片,还能制作全景美图!
http://get.live.cn/product/photo.html
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

--- End Message ---
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to