Re: [Tinyos-help] Low Power Listening not working with Dissemination???

2007-08-24 Thread Ravi Prasad
Hi, With LPL you can do a simple calculation to calculate a worst case packet delivery time.If sleep interval is 1000 ms then in worst case every hop transmission will take ~1000ms. Now as hop number of hop increase this delay grows significantly. This explains the huge delay. Also you said abou

Re: [Tinyos-help] Duty cycle

2007-08-24 Thread vazoumana fofana
hello Thanks for your explanation : it means there are four states for a mote : active(sending a msg, rcv a msg, running a task), idle(ready to run something but nothing matters at the moment), sleep ( lowest state) and turn off. do you know if it s possible to implement a signal wich wakes up

[Tinyos-help] TOSSIM: make micaz sim error?? (TinyOS 2.0.2, python 2.5.1)

2007-08-24 Thread Ravi Prasad
Hi, I am having problem in compiling application for simulation. The application compiles when I compile for mote but fails when I try to compile for simulation. I.e. >make micaz works fine But >make micaz simdonot work. I am able to compile and run simulation for the other applications l

Re: [Tinyos-help] Low Power Listening not working with Dissemination???

2007-08-24 Thread Christian Hermann
Thanks for the answers, but I set the duty cycle to 1000 meaning 10%, so the sleeping period should be only about 50ms what approves collection transmitting times... but not the dissemination problems. Christian David Moss schrieb: LPL has not been formally integrated into collection or dissemin

Re: [Tinyos-help] Weird error when transmitting serial data

2007-08-24 Thread Hristo Bojkov
Hi Inderjit, I think that it works when you have uint8_t* p; because for some reason you have longer message than the length of TOS_Msg. Then only when you have defined the pointer, you have enough space. You have a check for valid length, and you compare with this expression MSG.length > TOSH_D

[Tinyos-help] SplitControl - How to do wiring?

2007-08-24 Thread Ittipong Khemapech
Hello, I have been trying to use SplitControl to switch the radio on/off. I put the line: uses interface SplitControl as RadioControl; in my module. I've also implemented all RadioControl.initDone(), startDone() and stopDone() events. The problem is I can't do the wiring: Main.SplitControl ->

Re: [Tinyos-help] acknowledgements in Tinyos2.0.2 usingBaseStationCC2420, not supported?

2007-08-24 Thread Tiago Camilo
David, Thanks for your time!! You were right I was using an old version of CC2420ControlP, since I was compiling using the BaseStationCC2420 that incorporates the CC2420ControlP old version. I just simply used the new BaseStation and the ack started to appear... so once again thanks! I notes

[Tinyos-help] Tmote USB serial number

2007-08-24 Thread Urs Hunkeler
Hi, Is the following correct? The serial number of a tmote (telosb) mote shown by motelist is specific to the serial-USB-converter chip on the mote. It cannot be read from the mote and it is independent of the serial number stored in the DS2411. Cheers, Urs ___

[Tinyos-help] SplitControl - How to do wiring?

2007-08-24 Thread Ittipong Khemapech
Sorry to post this again. Forgot to provide the platform information. Hello, I have been trying to use SplitControl to switch the radio on/off. I put the line: uses interface SplitControl as RadioControl; in my module. I've also implemented all RadioControl.initDone(), startDone() and stopDone

[Tinyos-help] When posted task will be rerun ?

2007-08-24 Thread DAE HEE KIM
Hello. I want to know when posted task will be rerun ? What I know right now is as follows. 1) I have to define task function task void taskFunction() { // some code } 2) I have to post the task function post taskFunction() I know that System scheduler manage the posted task. Also,t

Re: [Tinyos-help] TOSSIM: make micaz sim error?? (TinyOS 2.0.2, python 2.5.1)

2007-08-24 Thread Philip Levis
On Aug 24, 2007, at 12:24 AM, Ravi Prasad wrote: Hi, I am having problem in compiling application for simulation. The application compiles when I compile for mote but fails when I try to compile for simulation. I.e. >make micaz works fine But >make micaz simdonot work. I am able to com

Re: [Tinyos-help] When posted task will be rerun ?

2007-08-24 Thread Kevin Klues
What do you mean by "If wrong, do I have to use another code in order to rerun posted task ?". I assume your question is really whether you will have to repost the task yourself if for some reason the posting fails. In TinyOS-1.x there is a limited size on the task queue, so the possibility exist

[Tinyos-help] module wiring advice wanted

2007-08-24 Thread John Griessen
Hi, I'm making modules that are just a wrapper of Msp430Adc12MultiChannel interface so I can add some different logic code to it once it works as a wrapper, and I'm stumped at the moment... Testch12AdcC.nc configuration wiring is my guess... The Test modules are prototypes of a 12 channel soi

[Tinyos-help] Problem in receiving message

2007-08-24 Thread Bhairav Desai
I am using 4 motes to test a multihop network. Mote 2 & 3 send data to mote 1, and mote 1 after aggregation forward the data to base station (mote 0). I can see mote 1 receiving and sending data by blinking LEDs. But initially the data is not displayed in the moteview. After some time mote 1 stops

Re: [Tinyos-help] module wiring advice wanted

2007-08-24 Thread Kevin Klues
See the definition of the Msp430Adc12MultiChannel interface. For any interfaces you use you have to implement all of the events they provide. Even if you don't want to do anything in them. Just leave them blank. Kevin On 8/24/07, John Griessen <[EMAIL PROTECTED]> wrote: > Hi, > > I'm making mo

Re: [Tinyos-help] more frequent samplying in Oscilloscope (async issue)

2007-08-24 Thread Kevin Klues
In the body of your ReadNow.readDone() event you would want to post a task that then signaled your Read,readDone() event. Your application wouldn't receive the results at exactly 2 kHz (because of the delay in posting the task and the scheduler actually running it), but the samples should be gathe

Re: [Tinyos-help] module wiring advice wanted

2007-08-24 Thread John Griessen
Kevin Klues wrote: See the definition of the Msp430Adc12MultiChannel interface. For any interfaces you use you have to implement all of the events they provide. Even if you don't want to do anything in them. Just leave them blank. I got that problem fixed, thanks. I have an unconnected now

RE: [Tinyos-help] acknowledgements in Tinyos2.0.2 usingBaseStationCC2420, not supported?

2007-08-24 Thread David Moss
Tiago - This flag shouldn't be application dependent. When you set the flag at compile time, or adjust the interface and call CC2420Config.sync() at runtime, the address recognition settings should change. With address recognition off, your mote should be receiving packets that are destined for

[Tinyos-help] TestUart0 example

2007-08-24 Thread Steven Aumack
I am trying to read serial data from pin 4 of the 10-pin header of the Tmote mini. i have downloaded the Tmote TestUart0 example (Using the Shared UART0 for External Devices), and successfully loaded it onto my tmote. I used a oscilloscope on pin 4 to verify that data was outuput from the TX pin.

[Tinyos-help] Persistent Data, Packet Parrot, etc

2007-08-24 Thread Bernardo Avila Pires
Ahoy there! I am currently trying to use LogStorageC services, but I am experiencing some problems. I've noticed that the wiring LogStorageP.At45db -> At45dbC; is missing in LogStorageC.nc. Is it supposed to be like that? LogWrite.appendDone simply returns len=0 and error=FAIL. D

Re: [Tinyos-help] My tiny tutorial

2007-08-24 Thread Bernardo Avila Pires
Urs, I have did some fetching upon sensors and stuff, but the data is written in Portuguese. I'll get it translated as soon as I can. 2007/8/13, Matt Welsh <[EMAIL PROTECTED]>: > It doesn't matter to me who hosts the wiki; I was hoping to host it > behind a generic DNS name so its physical locatio

[Tinyos-help] Adc module compiler warnings

2007-08-24 Thread John Griessen
I found a missing wiring to autoRVG module and got a compile of my Adc mux sensorboard modules. Are these compiler warnings needing investigation? make ecosens1 mkdir -p build/ecosens1 compiling Testch12AdcC to a ecosens1 binary ncc -o build/ecosens1/main.exe -Os -O -mdisable-hwmul -Wall -

[Tinyos-help] LogStorageC read and write question

2007-08-24 Thread Yi Wang
Hi all, I am using the LogStorageC component to log stuff, it seems that: The LogWrite.append() command actually update(increment) the address when it's logging. However, the logRead.read() command doesn't do the above. As a result when I try to read the flash the result will always be the first bl

Re: [Tinyos-help] Adc module compiler warnings

2007-08-24 Thread John Griessen
John Griessen wrote: I found a missing wiring to autoRVG module and got a compile of my Adc mux sensorboard modules. Are these compiler warnings needing investigation? I figured out they are about lacking return of SUCCESS or FAIL is all. Nevermind. John Griessen -- Ecosensory tinyOS devel

[Tinyos-help] Re: Persistent Data, Packet Parrot, etc

2007-08-24 Thread Bernardo Avila Pires
One other thing (if I don't discover soon enough): How do I establish a volume's valid last page? I mean, I erase the volume with one application, but sync doesn't work after it. Later attempts to write also fail, as though there were no valid metadata pages in the volumes. Can someone please help