Re: [Tinyos-help] Time Interval

2009-06-01 Thread Ruben Catteeuw
Hi, Why not just generate a random number with the Random interface and then initialize a timer with this value? regards Ruben Date: Mon, 1 Jun 2009 08:49:06 -0700 From: janesjunk...@yahoo.com To: tinyos-help@millennium.berkeley.edu Subject: [Tinyos-help] Time Interval I

Re: [Tinyos-help] Sending data in line protocol

2009-05-20 Thread Ruben Catteeuw
Hi, Why not just use a moteID for every node? Node 1 only addresses to 2. Node 2 upon receiving from node 1 addresses to 3, and so on. regards Ruben Date: Wed, 20 May 2009 14:35:59 +0100 From: ik.tin...@googlemail.com To: tinyos-help@millennium.berkeley.edu;

Re: [Tinyos-help] Wake up on Radio receive

2009-05-15 Thread Ruben Catteeuw
Hello, Sleep mode and always receiving doesn't really fit together... Easiest way is to use LPL. regards Ruben Date: Thu, 14 May 2009 20:08:08 -0500 From: naa...@gmail.com To: Tinyos-help@millennium.berkeley.edu Subject: [Tinyos-help] Wake up on Radio receive I would like to

[Tinyos-help] cc2420 CCA

2009-05-07 Thread Ruben Catteeuw
Hi all, I have a question regarding the CC2420 and CCAs. When attempting to transmit a packet, when and how many CCAs are done? Is this correct? Initial backoff - CCA- TX or congestion backoff Or is there first a software CCA and then a HW CCA from the CC2420 itself? regards and

Re: [Tinyos-help] Tr : Problem with make telosb

2009-04-26 Thread Ruben Catteeuw
the tutorial on the tinyos website about printf is very clear about this subject good luck Date: Sat, 25 Apr 2009 18:53:32 -0600 From: sc...@santafe.edu To: rranno...@yahoo.fr CC: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Tr : Problem with make telosb You'll

[Tinyos-help] influence congestionbackoff

2009-04-12 Thread Ruben Catteeuw
Hi all, I have been thinking about this for a very long time, but couldn't formulate an answer, so I ask my question to this community: My application exists of 41 telosbmotes, 40 of them send 1 request (20 bytes) at a random time in every 1-second interval to the 41sth mote who functions as

Re: [Tinyos-help] Fw: RE: Need your Help: Battery Voltage measurement

2009-03-24 Thread Ruben Catteeuw
advantage of the periodes in which the Radio not sending or receiving but without turning it off. how can I work around this if it's not possible Thanks Have a Nice Day Mohamed --- On Sat, 3/21/09, Ruben Catteeuw rubencatte...@hotmail.com wrote: From: Ruben Catteeuw rubencatte...@hotmail.com

Re: [Tinyos-help] current consumption with radio turned off

2009-03-22 Thread Ruben Catteeuw
consumption with radio turned off Hi! On Thu, 12 Mar 2009, Ruben Catteeuw wrote: Hi all, It seems I can't add a jpg in attachment. Sorry about the previous mail. Can you post it somewhere (flickr, facebook, etc) and give a link to it? Anyway, my question stays the same: Why

Re: [Tinyos-help] Need your Help: Battery Voltage measurement

2009-03-21 Thread Ruben Catteeuw
Hi, Once you call splitcontrol().start and the splitcontrol.startdone event is signalled, the radio stays on. If you send something, the radio goes into TX and after the sentdone is signalled it goes back to Listen, but if you don't send something it stays in Listen-mode, unless you call

Re: [Tinyos-help] current consumption with radio turned off

2009-03-18 Thread Ruben Catteeuw
Ruben Date: Fri, 13 Mar 2009 01:29:22 -0400 From: razv...@cs.jhu.edu To: rubencatte...@hotmail.com CC: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] current consumption with radio turned off Hi! On Thu, 12 Mar 2009, Ruben Catteeuw wrote: Hi all

Re: [Tinyos-help] current consumption with radio turned off

2009-03-13 Thread Ruben Catteeuw
? (is the power measured over the battery connector or some other connector?) Cheers, Urs Ruben Catteeuw wrote: Hi all, Attached is a screenshot of the current consumtion while running my application on a telos mote. The radio is off, then turned on, a packet is sent

[Tinyos-help] current consumption with radio turned off

2009-03-12 Thread Ruben Catteeuw
Hi all, Attached is a screenshot of the current consumtion while running my application on a telos mote. The radio is off, then turned on, a packet is sent and the radio is turned back off. I wonder why the current consumption is about 2mA when the radio is off. I only have some

[Tinyos-help] current consumption with radio turned off

2009-03-12 Thread Ruben Catteeuw
Hi all, It seems I can't add a jpg in attachment. Sorry about the previous mail. Anyway, my question stays the same: Why is the current consumption with the radio off this high (2mA)? I only have 2 timers running. Can I get this any lower? regards Ruben From:

Re: [Tinyos-help] Sending an array

2009-03-10 Thread Ruben Catteeuw
Hi, Did you change the message format in the header file? I'm sending arrays without any problems. I have this in my app header file: typedef nx_struct LabelGetUpdateMsg { nx_uint16_t nodeid; nx_uint8_t text[getUpdateSize]; } LabelGetUpdateMsg; regards Ruben Date: Tue, 10 Mar

Re: [Tinyos-help] maximum packet size

2009-02-25 Thread Ruben Catteeuw
Hi, I think there must be a hardware-limit on the packet size. regards Ruben Date: Wed, 25 Feb 2009 14:25:29 +0800 From: psund...@gmail.com To: tinyos-help@millennium.berkeley.edu Subject: [Tinyos-help] maximum packet size Hi, Is there any limit to the packet size inclusive of all the

[Tinyos-help] Turning CC2420 radio on and off problem

2009-02-23 Thread Ruben Catteeuw
Dear all, I'm a thesis student in my final year of university. My thesis mainly is about WSN and energy harvesting. I've implemented a test-application on the testbed of the university. The application is quite simple: About 40 motes send requests to a central controller-mote.

Re: [Tinyos-help] current time

2009-01-22 Thread Ruben Catteeuw
Hello, From TEP102: LocalTime The LocalTime interface exposes a 32-bit counter without overflow utilities. This is primarily for application code that does not care about overflow conditions.interface LocalTimeprecision_tag { async command uint32_t get(); } get() return the current

[Tinyos-help] change CC2420 power-state

2009-01-13 Thread Ruben Catteeuw
Hello, I am trying to do the following: Send a packet, let the radio (CC2420,telos) sleep for 200 ms and after this the radio has to be powered on and the mote has to receive an answer from the controller (another mote that sends a packet back 200ms after receiving a request). After

[Tinyos-help] ubuntu 8.10 mig issue

2008-12-12 Thread Ruben Catteeuw
Hello, I used to work on ubuntu 8.04, but since my new laptop only supports 8.10 I had to make the switch. TinyOS 2.1.0 works fine, except when i try to create a .class from a message with mig in the make file. A lot of errors appear: /usr/lib/ncc/nesc_nx.h:258: `offset' undeclared here (not

Re: [Tinyos-help] ubuntu 8.10 mig issue

2008-12-12 Thread Ruben Catteeuw
Hello, To answer my own question: I was trying the TestSerial application from the tutorial. When I replace -target=null with -target=telosb everything works fine... Hope someone can use this. COMPONENT=TestSerialAppC BUILD_EXTRA_DEPS += TestSerial.class CLEAN_EXTRA = *.class

[Tinyos-help] RadioBackoff.setInitialBackoff(...)

2008-12-11 Thread Ruben Catteeuw
Hi, I'm using the setInitialBackoff call in this event: async event void RadioBackoff.requestInitialBackoff(message_t *msg){ if(useCustomBackoffs==TRUE) call RadioBackoff.setInitialBackoff(initialBackoff); } Is the value for initialBackoff now an absolute value or does this

Re: [Tinyos-help] RadioBackoff.setInitialBackoff(...)

2008-12-11 Thread Ruben Catteeuw
Hi again, Another think i can't figure out is the unit of this parameter. The RadioBackoff interface says: the amount of time in some unspecified units. What defines this unit and what are the boundary values? Thanks again Ruben From: [EMAIL PROTECTED] To:

[Tinyos-help] AMsend/Timer issue

2008-11-29 Thread Ruben Catteeuw
Hello,I'm having some problems with the AMsend interface in an application of mine (on Tmote), some info:A mote is receiving an avarage of 6 packets per second from different motes in a network (20 motes send once per 3 seconds at random times), the source adress of this packet is