Re: [Tinyos-help] CC2420_Header Structure

2007-01-10 Thread Philip Levis
On Jan 9, 2007, at 7:22 PM, Shuo Xiao wrote: Hi all, I am recently using Micaz platform plus Tinyos 2.0 to implement the application BlinkToRadio. But when I used Listen tools to display the messages sent from the mote, I didnot quite understand them. the message header received from the

[Tinyos-help] help - TinyDBApp installation on Mica2 motes

2007-01-10 Thread TIAN YUXIANG(AARON)
Hi, When I was trying to run "make mica2" for TinyDBApps, I got this error msg saying confilicting type. However the program compiles well on mica platform. Does anyone know what is wrong? Thanks! Aaron C:/tinyos/cygwin/opt/tinyos-1.x/tos/lib/TinyDB/TupleRouterM.nc:3864: conflicting types for

[Tinyos-help] Tutorial Question

2007-01-10 Thread cs233017
Hello, I am just curious if the tutorial: http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson6.html Applies to and can be used for the MICA2 motes. I know it does for the older MICA motes. -- Regards, Hamdi This message w

[Tinyos-help] crc of TOS_Msg

2007-01-10 Thread Stephen Chow
In my case, one mica2 mote send a tos message via "BareSendMsg" of CC1000RaioC; another mote receive the message using "ReceiveMsg" interface. In event "receive" I want to check "crc" of message and I found data->crc == 0. Thus I am puzzled why crc is 0? Thanks ___

[Tinyos-help] Data structure

2007-01-10 Thread Saran Jenjaturong
Hi all, I just have learned to write nesc language and want to know something. Are there any data structures (not just a simple array) like LinkedList, ArrayList, Stack or Queue in library we can use? Regards, Saran ___ Tinyos-help mailing list Tinyos-

Re: [Tinyos-help] Tutorial Question

2007-01-10 Thread Tarun Bansal
This tutorial works for MICAZ, MICA2 and MICAdot I am not sure about MICA motes Regards Tarun Bansal On 1/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello, I am just curious if the tutorial: http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson6.html Applies to and can be used for th

[Tinyos-help] where is nesC 1.2.8 and Is tinyos-2.0.0-3.cygwin.noarch.rpm right file to upgrade TOS2?

2007-01-10 Thread Junyan Ma
hi everyone, It is said that the nesC 1.2.8 released on the tinyos website Dec 28th. But I could not find any proper RMPs in TinyOS install and upgrade instructions. Furthermore, I checked the sourceforge. There is noly nesc-1.2.8a.tar.gz

[Tinyos-help] Flash: internal and external on Tmote Sky

2007-01-10 Thread giovanni gamba
Hi all, i need to save several variables (only few bytes) cross a reset procedure, so maybe i can store them in a mass memory. I work on Tmote Sky, so i must use or MSP430 internal flash or STM25P external flash. What is the simpler and less resource-consuming way to do this? I would like to know

[Tinyos-help] CCA to Led: Tmote Sky

2007-01-10 Thread giovanni gamba
Hi all, I'm working on Tmote Sky (Boomerang 2.04) and i would like to drive the cca-pin status (ON-OFF) to a led.. so if the radio chip senses the channel busy a led is on and when the channel is free the led is off. Is there a simple method for doing this, modifying the CC2420RadioM or similar m

[Tinyos-help] Dynamic On-Demand Timers

2007-01-10 Thread Mayur Maheshwari
Hi All, How do we program the mote so that it is able to start a timer on-demand. In this way we can have as many timers running as required Considering a scenario where a mote gets multiple connections and the communication includes 'n' number of motes. It is very much need that there are 'n' t

[Tinyos-help] Directive antennas in micaz motes

2007-01-10 Thread Milton Aguiar
Hi all: I want to connect an directive antenna to Micaz motes. Can someone give me a help about that? What type of antenna and how i can connect the antenna to the radio board? Thanks in advance Milton Aguiar ___ Tinyos-help mailing list Tinyos-h

Re: [Tinyos-help] Tutorial Question

2007-01-10 Thread Heo Heo
It works for MicaZ (tested), and from the wording of the crossbow Getting Started Guide, it should work for all the Micas. Heo [EMAIL PROTECTED] wrote: Hello, I am just curious if the tutorial: http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson6.html Applies to and can be used

[Tinyos-help] Tinyviz.jar not created

2007-01-10 Thread Engin Masazade
hello, I am new to TinyOS and I want to execute Tinyviz, when I implement lesson 5 [To compile TinyViz, cd to the tools/java/net/tinyos/sim directory and type make. This will build the TinyOS program as tinyviz.jar] tools/java/net/tinyos/sim and make commands work but I can not get tinyviz.

RE: [Tinyos-help] BUG: tinyos-2 libtoscomm.so needs -fPIC flag (w/patch)

2007-01-10 Thread Daniel Goertzen
Using -fpic instead of -fPIC does seem to work for me. I used -fPIC because that is what gcc suggested (see gcc output below). Regards, Dan. g++ -O2 -shared "-I/opt/sun-jdk-1.5.0.08/include" "-I/opt/sun-jdk-1.5.0.08/include/linux" \ -o libtoscomm.so NativeSerial_linux.cpp /usr/lib/gc

[Tinyos-help] MAC-timestamping errors depending on nodes' number

2007-01-10 Thread giovanni gamba
Hi all, i'm working on Tmote Sky motes and i've noticed strange problems in the MAC-timestamping. If i use only few motes, and the radio is not often used, it's all ok, but when i use 24 nodes transmitting nearly in the same instant (obviously according to the CSMA/CA channel access) the values ar

Re: [Tinyos-help] Flash: internal and external on Tmote Sky

2007-01-10 Thread David Moss
I have something like this. I assume you're using TinyOS 1.x, right? In the TinyOS 1.x CVS contrib/rincon/tos/lib/Configuration directory, you'll find a library that will store small configuration values to the internal microcontroller's flash. This library's purpose is to divide the flash

[Tinyos-help] Tossim 2: how to simulate different motes

2007-01-10 Thread Lorenzo Mainardi
Hi everyone, I know that this is is an extra-FAQ... In Tossim 1 it was impossible to simulate motes with different software in the same simultaion; is this possible in Tossim 2? Cheers LORENZO ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.

Re: [Tinyos-help] where is nesC 1.2.8 and Is tinyos-2.0.0-3.cygwin.noarch.rpm right file to upgrade TOS2?

2007-01-10 Thread David Gay
You want 1.2.8a, not 1.2.8. The cygwin rpm should be removed. Note also that the -fnesc-separator option doesn't quite work in 1.2.8a. This will be fixed in the next release. David Gay On 1/10/07, Junyan Ma <[EMAIL PROTECTED]> wrote: hi everyone, It is said that the nesC 1.2.8 released on the

[Tinyos-help] Query regarding the sounder component in TinyOS-2.0

2007-01-10 Thread Deeksha Ganju
Hi, I was trying to look for the sounder component in tinyOS-2.0, but couldn't find any. Though in TinyOS-1.x, there is a file "SounderM.nc" in tos/sensorboard. I wonder if there is any such component provided in TinyOS-2.0? Moreover, in SounderM.nc ( tinyOS1.x), the following functions are be

[Tinyos-help] Problem installing TinyOS tools

2007-01-10 Thread scem geyik
Hi everyone, I am using a Fedora Core 4 system and I have a problem when trying to install " tinyos-tools-1.2.3-1.i386.rpm ". It says : "JAVA not found not installing JNI". My java is installed properly and using the "tos-locate-jre --jni" in terminal outside of the rpm prints the correct f

Re: [Tinyos-help] where is nesC 1.2.8 and Is tinyos-2.0.0-3.cygwin.noarch.rpm right file to upgrade TOS2?

2007-01-10 Thread Philip Levis
On Jan 10, 2007, at 6:01 AM, Junyan Ma wrote: hi everyone, It is said that the nesC 1.2.8 released on the tinyos website Dec 28th. But I could not find any proper RMPs in TinyOS install and upgrade instructions. ? They pretty clearly point you to 1.2.8a. Furthermore, I checked the sourc

[Tinyos-help] Battery Voltage and RSSI in mica2

2007-01-10 Thread Termodonte
Hello, i would like to get the battery voltage of mica2 motes and use it while i calculate the rssi valor (dBm). I'm using the Pong application but i can't take the ADC count of battery voltage because i'm pretty new to nesC and i don't know what to do. i read the manuals and i found that the b

Re: [Tinyos-help] Battery Voltage and RSSI in mica2

2007-01-10 Thread Tarun Bansal
Check page no 25 of http://www.xbow.com/Support/Support_pdf_files/MPR-MIB_Series_Users_Manual.pdf for help You can wire Voltage to your own Pong application to use the functionality provided. If you don't know the concept of "wiring", you can refer tinyos docs. Tarun On 1/10/07, Termodonte <[E

[Tinyos-help] Help on Blackbook FileSystem

2007-01-10 Thread Mayur Maheshwari
Hi David, I have started building the application which will use the interfaces provided by the File System. I am using two modules wired together which will do the following: 1. Create a file 2. Start writing some data 3. The other module will access this file 4. Find the read pointer to start

Re: [Tinyos-help] Directive antennas in micaz motes

2007-01-10 Thread Michael Schippling
Warning: this is not a reality-based reply since I actually haven't tried to do this...but... Since the 'Zs are in the same freq band as 802.11b you should be able to use any antenna you can find for regular wireless use. I know you can get little patch antennas that plug into notebook PCMCIA car

Re: [Tinyos-help] Make error 0

2007-01-10 Thread Philip Levis
On Jan 8, 2007, at 12:43 PM, Philip Levis wrote: On Jan 8, 2007, at 11:10 AM, Sean Winfree wrote: i typed ncc --version I have ncc: 1.2.1 nescc: 1.2.8a gcc: gcc 3.3.3 Copyright 2003 Free Software Foundation, Inc. are these not the correct versions? Hm. It looks like Cygwin compatibili

[Tinyos-help] Uploading error on windows with tmotesky

2007-01-10 Thread Xavier Orduña
Hello, I just unpacked my tmote sky motes but I got a problem trying the test program. I'm following the "quick start guide": - I have compiled the program with "make tmote". - I have verified that threre are motes available with "motelist". - But when typing "make tmote reinstall,1" I got an

[Tinyos-help] compiling and building TOSSIM problems

2007-01-10 Thread Βάσω Καρυώτη
Hello. I am (still) trying to run a TOsSIM aplication. Right after make micaz sim for the RadioCountToLeds application I get a number of errors about symbols that can not be found and packages net.tinyos.message that do not exist. I also get a lot of syntax and parse errors

Re: [Tinyos-help] Help on Blackbook FileSystem

2007-01-10 Thread David Moss
Hi Mayur, Looks like I uploaded the wrong version of DictionaryDemo to 2.x contrib. The version you downloaded looks to be TinyOS 1.x compatible, not the updated TinyOS 2.x version. I'll update this as soon as I can (may be later today though) and make sure the other demos I uploaded are 2.

Re: [Tinyos-help] Uploading error on windows with tmotesky

2007-01-10 Thread Michael Schippling
It could be a problem with temp files rather than the I/O port. Can you write "build/tmote/main.ihex.out-1" and its directory? You can also try something like "cat COM7" to see if you can open the port. MS Xavier Orduña wrote: Hello, I just unpacked my tmote sky motes but I got a problem tryi

Re: [Tinyos-help] Uploading error on windows with tmotesky

2007-01-10 Thread Xavier Orduña
Hi, Maybe we are on the right way, I try "cat COM7" and I get: "Permission denied" It's more funny what it gives if I tape: "ls -l COM7" $ ls -l COM7 --1 0 Jan 1 1970 COM7 Do you have any idea? This only happens on my laptop, I tried to work in my work

Re: [Tinyos-help] Uploading error on windows with tmotesky

2007-01-10 Thread Michael Schippling
On my XP SP1 notebook, with a driver for a USB->serial adapter: enfield:schip [333] ls -l COM3 crw-rw-rw-1 00 7, 0 Jan 10 13:29 COM3 so something is loaded right I guess. If you are trying to use USB of some kind I guess you could rummage in the Device Manager under (deep

[Tinyos-help] timing an operation

2007-01-10 Thread Bhuvaneswari Ramkumar
Hi All What is the best way to measure the time it takes for an operation to get executed ? Tried _gettime32() of SysTimeM, didnt seem to work can someone suggest a better function call or interface that we can use ? Sincerely Bhuvana ___ Tinyos-help

[Tinyos-help] questions of TestDAC12DMA program

2007-01-10 Thread yicheng
Hi Joe, I'm using the Moteiv Boomerang TestDAC12DMA program that you posted before. My platform is Tmote Sky. I have some questions on it: 1. I can only generate the max frequency of the sine wave at 200Hz, there's no sine wave output if I use frequency larger than 200. How can I generate higher f

[Tinyos-help] Re: questions of TestDAC12DMA program

2007-01-10 Thread Joe Polastre
1. I can only generate the max frequency of the sine wave at 200Hz, there's no sine wave output if I use frequency larger than 200. How can I generate higher frequency? You need to use a sine wave with less samples per period to get higher frequencies. 2. Does the DMA.setupTransfer command set

[Tinyos-help] Re: Performance measure of MAC

2007-01-10 Thread Miguel Pereira
Hi David, Thanks for your ideas. They will help me in the future. In the moment I'm running the software on motes and using the simulations to solve the bugs. Although your modules of CC2420_lpl are not supported by TOSSIM, which is my simulator. By this fact I will have to make the tests in

[Tinyos-help] Looking for example code and projects dealing with aggregation of data packets at sensors

2007-01-10 Thread banerjta
Hi, We are currently working on data aggregation of packets on TinyOS. Is there any link to websites which gives us overview about how to code this in nesc i.e. sensors send packets to source and source does some kind of data aggregaation like SUM, AVG, MAX and more advanced mathematical operat

Re: [Tinyos-help] Uploading error on windows with tmotesky

2007-01-10 Thread Xavier Orduña
Hi, It was really a nightware. The problem was that the HotSync application from Palmos has already created a serial port to be used with bluetooth. I have removed any serial port using bluetooth and now its working as it supposed to work. Thanks for everything Xavi On my XP SP1 notebook,

Re: [Tinyos-help] Help on Blackbook FileSystem

2007-01-10 Thread David Moss
Hi Mayur, Updated the DictionaryDemo in CVS. It should now compile (it won't actually work yet - explanation in a moment) in TinyOS 2.x as long as you have the following directories included (all from the rincon contrib directory in 2.x cvs): * /tos/lib/blackbook * /tos/lib/blackbook/boot

Re: [Tinyos-help] timing an operation

2007-01-10 Thread Michael Schippling
The best way is to toggle an LED or I/O line and measure it with a scope or logic analyzer... MS Bhuvaneswari Ramkumar wrote: Hi All What is the best way to measure the time it takes for an operation to get executed ? Tried _gettime32() of SysTimeM, didnt seem to work can someone suggest a b

[Tinyos-help] tinyOS 1.x 2.0 interoperability

2007-01-10 Thread Tempia Filippo
I'm working in TinyOS 2.0 and I would like to program the BaseStation application in order to receive packets from a TinyOS 1.1 mote with the CntToLedsAndRfm application running on it. As far as I understood there should be radio compatibility between TinyOS 1.1 and 2.0, since the CC2420 is still

Re: [Tinyos-help] tinyOS 1.x 2.0 interoperability

2007-01-10 Thread Philip Levis
On Jan 10, 2007, at 4:45 PM, Tempia Filippo wrote: I'm working in TinyOS 2.0 and I would like to program the BaseStation application in order to receive packets from a TinyOS 1.1 mote with the CntToLedsAndRfm application running on it. As far as I understood there should be radio compatibil

R: [Tinyos-help] tinyOS 1.x 2.0 interoperability

2007-01-10 Thread Tempia Filippo
Which files define the 802.15.4 configuration for TinyOS 2.0 and 1.1 so that I can compare them? Thanks! Filippo Filippo TEMPIA Wireless Sensor Networks Lab Under sponsorship of Pirelli and Telecom Italia 1995

[Tinyos-help] MICA2: Interface

2007-01-10 Thread cs233017
Hello, To interface the MICA2 with an external board (HC12) what type of connector is necessary to be able to transfer information (Stored on the MICA2) via TinyOS programs. -- Regards, Hamdi This message was sent using IM