[Tinyos-help] running DemoApp
Hi, Im trying to develop applications using TinyDB API. Before to do this I would like to run DemoApp with TOSSIM, if it is possible. I wrote this : In tinyos-1.x/apps/TinyDBApp directory ./build/pc/main.exe 2 And in tinyos-1.x/tools/java directory directory java net.tinyos.tinydb.DemoApp I got this: Catalog file in use: net/tinyos/tinydb/catalog.xml Creating PhoenixSource with [EMAIL PROTECTED]:57600 Error 87 SetCommConfig Error 87 SetCommConfig Error 87 SetCommConfig Error 87 SetCommConfig [EMAIL PROTECTED]:57600: resynchronising Sending query. What I should do? Can anybody help me? Thank you for all. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Async: semantic question
it means that the operations are preemptive respect to other tasks and syncronus events roberto ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Using Micaz applications in tmoteSky
Hello, Is it hard to convert applications developed for the micaz mote into the TmoteSky platform? Is there any problems regarding the hardware timers? I´m concerned about the synchronization between the two motes (micaz and the tmote) because they use different microprocessors. Thanks in advance, Andre Cunha ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] GlobalTime in Tmote from Moteiv
How can I access the GlobalTime from my code? I will have a main node as a time master. Is the timesynchronization only active when compiled with lowpower? Shall I include the file GlobalTime.nc or shall I wire the NetSync component? What´s the accuracy of the GlobalTime? My application is a system that will wake up one hour once a day. At that hour I will send as much data as possible. The rest of the time I will save power and only listen for a wakeup command. Best Regards Jörgen Johansson ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Using Tmote sky photo sensor
Hey Everyone, I was wondering if anyone was working the photo sensor on the tmote sky, does anyone have any applications or know how to configure Sense.nc to show some results with the photo sensor ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] problem with make pc
I was getting the same error on Ubuntu, but it turns out that my version of nescc was too old. If you checked tinyos out from CVS, you'll need 1.2.4 it seems. If ncc --version reports something like 1.1.2b instead of 1.2.4, it will tank on the offset() function. The most difficult part in fixing this would probably be finding where the old version is coming from. There's a command called which that reports back where a given program is stored. For example: [EMAIL PROTECTED]:~$ which eclipse /usr/bin/eclipse Hopefully that fixes it. Justin Dugger On 5/30/06, Michael D [EMAIL PROTECTED] wrote: When i try to compile a application with make pc i get the following error In file included from /opt/tinyos-1.x/tos/platform/pc/packet_sim.h:55, from /opt/tinyos-1.x/tos/platform/pc/nido.h:84, from /opt/tinyos-1.x/tos/platform/pc/hardware.h:43, from /opt/tinyos-1.x/tos/system/tos.h:144: /opt/tinyos-1.x/tos/types/AM.h:155: parse error before `struct' /opt/tinyos-1.x/tos/types/AM.h:156: parse error before `struct' /opt/tinyos-1.x/tos/types/AM.h:158: parse error before `struct' /opt/tinyos-1.x/tos/types/AM.h: In function `TOS_MsgLength': /opt/tinyos-1.x/tos/types/AM.h:186: parse error before `TOS_Msg' In file included from /opt/tinyos-1.x/tos/platform/pc/hardware.h:116, from /opt/tinyos-1.x/tos/system/tos.h:144: /opt/tinyos-1.x/tos/platform/pc/eeprom.c: At top level: /opt/tinyos-1.x/tos/platform/pc/eeprom.c:147: warning: declaration of `length' shadows global declaration /opt/tinyos-1.x/tos/types/AM.h:158: warning: location of shadowed declaration /opt/tinyos-1.x/tos/platform/pc/eeprom.c:177: warning: declaration of `length' shadows global declaration /opt/tinyos-1.x/tos/types/AM.h:158: warning: location of shadowed declaration make: *** [exe0] Error 1 I already tried to recompile the nesc compiler with the patch that was suggested in : https://mail.millennium.berkeley.edu/pipermail/tinyos-help/2005-September/012219.html but it doesnt work. I tried to change the offestof() macro in stddef.h to the old function, but i dont know how to do that. Can anyone help me with this? lg, mike ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] GlobalTime in Tmote from Moteiv
GlobalTime is provided by the NetSyncC component. If you're not using networkwide synchronization, then there is no GlobalTime provided. -Joe On 5/30/06, Jörgen Johansson [EMAIL PROTECTED] wrote: How can I access the GlobalTime from my code? I will have a main node as a time master. Is the timesynchronization only active when compiled with lowpower? Shall I include the file GlobalTime.nc or shall I wire the NetSync component? What´s the accuracy of the GlobalTime? My application is a system that will wake up one hour once a day. At that hour I will send as much data as possible. The rest of the time I will save power and only listen for a wakeup command. Best Regards Jörgen Johansson ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Need help for VM
Hi, everybody: I plan to do some experiment with VM on either XBOW mica2 of weather board or Telos mica2. Can anybody know if these two kinds of mica2 support the VM. Additionally if the VM is equal to the ASVM (Active Sensor Networks, from Philip Levis, David Gay, and Daivd Culler). Also, any help doc and sample code for vm is great appreciated. Best Zhengsu ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Help needed to set position for nodes in TOSSIM
Hi everyone: I want to do some multiple hops simulations in TOSSIM, yet I do not know how to set nodes' position. After make pc, run ./build/pc/main.exe -l=1 5. It seems that by default every node can hear each other. Would you please tell how to set nodes' position in TOSSIM and what is the transmission range. I canot find this information in any document. Any help is greatly appreciated. Thanks a lot in advance. Regards, Tao ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] tutorials
Does anyone know where I can see the answers to the tutorials? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] print problem
Hi, everyone, I am trying to printsome value statement on PC to in order to make sure the program is on the correct way. For example, base station receives three values from other motes and get the average, then dosome other calculation. I wanttoprint out the average value on the pc whenI am doing the experiment.But I do not know how. I thought DBG display was just for simulation.(or I am wrong???) Is there any statement that can print out the value, or write the value into a file??? Can anyone tell me? Thanks a lot. XingJin Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Make pc error
Hi, everybody: I try to use tossim and make pc for Blink. When I execute./build/pc/main.exe 2I got following error :0: ERROR: Unable to create EEPROM backing store file.0: ERROR: Unable to create anonymous EEPROM region.I am using tinyos.1.11Can anyone give me some hint? What's wrong for my execution?ThanksBestZhengsu___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] errors in tinyos-2.x/support/sdk/c
Hi! I'm still trying to fix the problem and what I found so far is that -c-prefix is not present in the nesc version that I'm using (1.2.4). I checkout the latest CVS version of nesc which does contain the code to deal with new argument but I'm stuck at the first step of building: [EMAIL PROTECTED]:~/local/src/nesc$ ./Bootstrap + aclocal + autoconf + '[' -d config-aux ']' + mkdir config-aux + automake -a -c automake: configure.in: installing `config-aux/install-sh' automake: configure.in: installing `config-aux/mkinstalldirs' automake: configure.in: installing `config-aux/missing' automake: configure.in: installing `config-aux/config.guess' automake: configure.in: installing `config-aux/config.sub' tools/Makefile.am:43: invalid variable `nodist_ncclib_DATA' + rm -f config.cache src/config.cache [EMAIL PROTECTED]:~/local/src/nesc$ Does anyone (David Gay perhaps :-)) know what is the problem? -- Razvan ME On Wed, 24 May 2006, Razvan Musaloiu-E. wrote: Hi! On Tue, 23 May 2006, Philip Levis wrote: On May 23, 2006, at 12:11 PM, Razvan Musaloiu-E. wrote: Hi! I'm trying to compile the C SDK for TinyOS 2 and the make ends with this error: $ make mig -o serialpacket.h -c-prefix=spacket c /home/tinyos2/local/src/tinyos-2.x/tos/lib/serial/Serial.h serial_packet gcc: unrecognized option '-c-prefix=spacket' warning: Cannot determine AM type for serial_packet (Looking for definition of AM_SERIAL_PACKET) Unknown tool c make: *** [serialpacket.h] Error 2 Does anyone know what I did wrong? :-) I'm using the latest version of tinyos-2_0_devel-BRANCH. The C sdk also includes support in mig for generating C packets. But you need to install the updated version of mig to be able to do this. Go into tinyos-2.x/tools/tinyos/ncc/ and $ make $ make install I did that and I still receive the same error: [EMAIL PROTECTED]:~/local/src/tinyos-2.x/tools/tinyos/ncc$ make Making all in nesdoc-py make[1]: Entering directory `/home/tinyos2/local/src/tinyos-2.x/tools/tinyos/ncc/nesdoc-py' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/tinyos2/local/src/tinyos-2.x/tools/tinyos/ncc/nesdoc-py' make[1]: Entering directory `/home/tinyos2/local/src/tinyos-2.x/tools/tinyos/ncc' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/home/tinyos2/local/src/tinyos-2.x/tools/tinyos/ncc' [EMAIL PROTECTED]:~/local/src/tinyos-2.x/tools/tinyos/ncc$ make install Making install in nesdoc-py make[1]: Entering directory `/home/tinyos2/local/src/tinyos-2.x/tools/tinyos/ncc/nesdoc-py' make[2]: Entering directory `/home/tinyos2/local/src/tinyos-2.x/tools/tinyos/ncc/nesdoc-py' make[2]: Nothing to be done for `install-exec-am'. /bin/sh ../../../config-aux/mkinstalldirs /home/tinyos2/local/lib/tinyos/nesdoc /usr/bin/install -c -m 644 ./__init__.py /home/tinyos2/local/lib/tinyos/nesdoc/__init__.py /usr/bin/install -c -m 644 ./archive.py /home/tinyos2/local/lib/tinyos/nesdoc/archive.py /usr/bin/install -c -m 644 ./components.py /home/tinyos2/local/lib/tinyos/nesdoc/components.py /usr/bin/install -c -m 644 ./generators.py /home/tinyos2/local/lib/tinyos/nesdoc/generators.py /usr/bin/install -c -m 644 ./genhtml.py /home/tinyos2/local/lib/tinyos/nesdoc/genhtml.py /usr/bin/install -c -m 644 ./graph.py /home/tinyos2/local/lib/tinyos/nesdoc/graph.py /usr/bin/install -c -m 644 ./html.py /home/tinyos2/local/lib/tinyos/nesdoc/html.py /usr/bin/install -c -m 644 ./index.py /home/tinyos2/local/lib/tinyos/nesdoc/index.py /usr/bin/install -c -m 644 ./interfaces.py /home/tinyos2/local/lib/tinyos/nesdoc/interfaces.py /usr/bin/install -c -m 644 ./utils.py /home/tinyos2/local/lib/tinyos/nesdoc/utils.py /usr/bin/install -c -m 644 ./nesdoc.css /home/tinyos2/local/lib/tinyos/nesdoc/nesdoc.css make[2]: Leaving directory `/home/tinyos2/local/src/tinyos-2.x/tools/tinyos/ncc/nesdoc-py' make[1]: Leaving directory `/home/tinyos2/local/src/tinyos-2.x/tools/tinyos/ncc/nesdoc-py' make[1]: Entering directory `/home/tinyos2/local/src/tinyos-2.x/tools/tinyos/ncc' make[2]: Entering directory `/home/tinyos2/local/src/tinyos-2.x/tools/tinyos/ncc' /bin/sh ../../config-aux/mkinstalldirs /home/tinyos2/local/bin /usr/bin/install -c mig /home/tinyos2/local/bin/mig /usr/bin/install -c ncg /home/tinyos2/local/bin/ncg /usr/bin/install -c ncc /home/tinyos2/local/bin/ncc /usr/bin/install -c nesdoc /home/tinyos2/local/bin/nesdoc make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/tinyos2/local/src/tinyos-2.x/tools/tinyos/ncc' make[1]: Leaving directory `/home/tinyos2/local/src/tinyos-2.x/tools/tinyos/ncc' [EMAIL PROTECTED]:~/local/src/tinyos-2.x/tools/tinyos/ncc$ cd ../../../support/sdk/c/ [EMAIL PROTECTED]:~/local/src/tinyos-2.x/support/sdk/c$ make mig -o serialpacket.h -c-prefix=spacket c
[Tinyos-help] Make command not found
Hi all, I installed cygwin and tinyos 1.1.15 on my computer and it says make command not found. the same version and everything else works fine on my desktop. Any idea where the problem can be ?Thanks,Bhushan Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Help needed to set position for nodes in TOSSIM
Hi everyone: I want to do some multiple hops simulations in TOSSIM, yet I do not know how to set nodes' position. After make pc, run ./build/pc/main.exe -l=1 5. It seems that by default every node can hear each other. Would you please tell how to set nodes' position in TOSSIM and what is the transmission range. I canot find this information in any document. Any help is greatly appreciated. Thanks a lot in advance. Regards, Tao ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Need help for VM
Phil Levis can correct me on this, but Phil's ASVM (Mate) runs on Tmote Sky from Moteiv (my company, www.moteiv.com). -Joe On 5/30/06, Zhengsu Gao [EMAIL PROTECTED] wrote: Hi, everybody: I plan to do some experiment with VM on either XBOW mica2 of weather board or Telos mica2. Can anybody know if these two kinds of mica2 support the VM. Additionally if the VM is equal to the ASVM (Active Sensor Networks, from Philip Levis, David Gay, and Daivd Culler). Also, any help doc and sample code for vm is great appreciated. Best Zhengsu ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] using flash in tinyos-2.x
Hi, I am working on tinyos-2_0_devel-BRANCH and telosb motes. I was trying to read and write from the STM25P80 flash on telosb motes. However, I realized that most of the interfaces as defined TEP103 has not been implemented (or even specified in interfaces/* directory). :( By browsing the tinyos-help achieves, I understand that Flash (tos/lib/Flash) is pretty well supported on tinyos-1.x. However, I started working with TinyOS only with 2.x version and I am not familiar with tinyos-1.x. Questions: 1 Is there any code, supporting reading and writing of flash in tinyos-2.x for telosb motes? 2) Is there a simulator type of support for flash (either separately or in TOSSIM), which would allow me to test my code of reading and writing to flash, without actually using a mote (like telosb or mica2)? 3) How easy or difficult would it be to port the flash support for STM25P80 to tinyos-2.x code base? Any help or suggestion would be greatly appreciated Thanks, Manju ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help