Re: [Tinyos-help] CTP: CtpForwardingEngineP component error

2010-10-23 Thread Omprakash Gnawali
On Fri, Oct 22, 2010 at 9:37 PM, Dongyu Yang yangdy.n...@gmail.com wrote: Hello! I set up one network containing four Node and one Root, and use drip to disseminate command, and use ctp to collect data.The Root disseminates command every 200 ~ 700 ms (randomly), and the Node use ctp to send

Re: [Tinyos-help] Acoustic Ranger error

2010-10-23 Thread MUNEERA A. ALBABTAIN
Well, Sorry about that. I really appreciate your help Attached is my ToneDetector files. I have moved the declaration of the datamsg* packet to the beginning of the function block, then I got these warnings and the program doesn't function properly:

[Tinyos-help] Problems when Timer has large input values

2010-10-23 Thread Manjunath Doddavenkatappa
The following is a simple program which intend to make LED to blink once in every 5.4 minutes. But the Timer fires very quickly, at least twice in every one second!!!. I am I missing something very basic ??? As defined in Timer.nc, the input to StartPeriodic and OneShot is uint32. I am using

Re: [Tinyos-help] Problems when Timer has large input values

2010-10-23 Thread Urs Hunkeler
Hi Manjunath, Despite the ret variable being defined as 32-bit unsigned integer, the compiler might do the calculations per default in 16-bit, thus getting an incorrect result. Can you try to add the letter L behind the numeric constants to force the compiler to do the calculations in 32-bits

Re: [Tinyos-help] Problems when Timer has large input values

2010-10-23 Thread Manjunath Doddavenkatappa
Thanks a lot. This works. Manjunath D *** On Sat, 23 Oct 2010, Urs

[Tinyos-help] Forwarding Message

2010-10-23 Thread ¯`•._.•Lance•._.•´¯
For multihop communication, I strongly recommend to start with the Collection protocol, as everything you need there is already implemented: http://docs.tinyos.net/index.php/Network_Protocols#Collection Basically, instead of the regular send/receive interfaces you send your packets over the

Re: [Tinyos-help] Tinyos-help Digest, Vol 90, Issue 61

2010-10-23 Thread rupesh vishwakarma
hi all, I need your advise , actually in my application I have to buffer some messages and then process them later . I have seen the base station code for that in that there is a a line if (call UartSend.send(uartQueue[uartOut], len) == SUCCESS) { call Leds.led1Toggle(); }

[Tinyos-help] Signaling from external C code (outside nesC's namespace)

2010-10-23 Thread Francisco Sant'anna
Hello, I have a C project that uses different backends than just nesC. I'd rather keep a single file and use a mechanism to interface with the different backends. From inside my code I use a macro named OUTPUT, which is the single point that has to be redefined for each backend. For nesC I would

[Tinyos-help] 802.15.4

2010-10-23 Thread Daniel Schnit
Hi all, i need to use 802.15.4/ZigBee Protocol...my question is the default protocol in TinyOs is 802.15.4. thanks for all ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu