TinyOS 2.x,,,cc2420:
For cc2420, i just calculated the time interval between consective messages
:
MONO-- 113
MONO-- 103
MONO-- 97
MONO-- 88
MONO-- 82
MONO-- 73
MONO-- 66
MONO-- 57
MONO-- 51
MONO-- 42
MONO-- 36
MONO-- 27
MONO-- 20
I want to implement a loop that sends a jamming signal over a random period of
time, sleeps for a random period. I found the Random interface, but not sure
how to implement the time intervals. Is there a interface I could use to
perform the task? I have IRIS rf230. Thanks!
YanYan
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