Michael Schippling | 1 Jun 04:57 2006

Re: Telos B Motes and RSSI

This is putting the RSSI in the 20th byte of the the TOS_Msg.data
field, but probably the CntToRfm message says that the significant
data (TOS_Msg.length) is much shorter...I forget, 4 or 6 bytes...
so your client is just displaying the N significant bytes.

You should be able to verify this with ListenRaw, or a slightly
hacked version of Listen that dumps the whole message struct.

Assuming that you don't care what's in the original message data
you can stick the strength in any byte, say data[0]...

MS

Paul David Kavan wrote:
> Hello all:
> 
> I am working on a simple system of Telos B Motes to do some distance 
> ranging experiments. I realize that this subject has been beat dead on 
> this board, but I am stuck and would appreciate any insight.
> 
> I have several motes programmed with CntToRfm. No problems there. I can 
> install TOSBase on a Base mote and see that those are in fact 
> transmitting a counter over the radio.
> 
> I am working on a modification to the Base Mote that extracts the RSSI 
> information and replaces the payload (ie the counter data) with the RSSI 
> for that packet. I know that the command to get this information is 
> 
> Msg->strength;
> 
(Continue reading)

Michael Schippling | 1 Jun 05:04 2006

Re: Telos B Motes and RSSI

This mod puts the strength in the 20th byte of the the TOS_Msg.data
field, but probably the CntToRfm message says that the significant
data (TOS_Msg.length) is much shorter...I forget, 4 or 6 bytes...
so your client is just displaying the N significant bytes.

You should be able to verify this with ListenRaw, or a slightly
hacked version of Listen that dumps the whole message struct.

Assuming that you don't care what's in the original message data
you can stick the strength in any byte, say data[0]...

Also, I haven't followed the ins-n-outs but I think, due to the
radio chip being different from the mica2:
   A) the tmote TOS_Msg is NOT the UART TOS_Msg,
	at least on the micaz the Framer code translates one to
	the other, just to be aware, look for platform/tmote/AM.h...
   B) the strength for the tmote may not be the same as msg.strength,
	there's been a lot of noise/discussion on this list about
	this but I did my best to not let any of it phase me.

MS

Paul David Kavan wrote:
> Hello all:
> 
> I am working on a simple system of Telos B Motes to do some distance 
> ranging experiments. I realize that this subject has been beat dead on 
> this board, but I am stuck and would appreciate any insight.
> 
> I have several motes programmed with CntToRfm. No problems there. I can 
(Continue reading)

Jörgen Johansson | 1 Jun 07:21 2006
Picon

SV: GlobalTime in Tmote from Moteiv

Can you explain with an example how I can use the Globaltime in the Delta example in Bomerang 2.0.2 ?

/Jörgen Johansson 

-----Ursprungligt meddelande-----
Från: joe.polastre <at> gmail.com [mailto:joe.polastre <at> gmail.com] För Joe Polastre
Skickat: den 30 maj 2006 18:51
Till: Jörgen Johansson
Kopia: tinyos-help <at> millennium.berkeley.edu
Ämne: Re: [Tinyos-help] GlobalTime in Tmote from Moteiv

GlobalTime is provided by the NetSyncC component.  If you're not using
networkwide synchronization, then there is no GlobalTime provided.

-Joe

On 5/30/06, Jörgen Johansson <Jorgen.Johansson <at> saab.se> wrote:
> How can I access the GlobalTime from my code? I will have a main node as a time master.
> Is the timesynchronization only active when compiled with "lowpower"?
> Shall I include the file GlobalTime.nc or shall I wire the NetSync component?
> What´s the accuracy of the GlobalTime?
>
> My application is a system that will wake up one hour once a day. At that hour I will send as much data as
possible. The rest of the time I will save power and only listen for a wakeup command.
>
> Best Regards
> Jörgen Johansson
>
> _______________________________________________
> Tinyos-help mailing list
(Continue reading)

prajakta choudhari | 1 Jun 12:12 2006
Picon

Badly needing help for tinyDB

Dear all:

Thank You so much for u r previous responses.. They have helped me so much....
Now i am trying to run TinyDb for MTS420.

This is the makefile for TinyDBApp.
COMPONENT=TinyDBApp
SENSORBOARD=mts400
PFLAGS=-I %T/lib/Util -I%T/lib/Attributes -I%T/lib/Commands
-I%T/lib/TinyDB -I%T/lib/MintRoute -I%T/lib/Queue -I%T/lib/FS
-I%T/lib/TinyDB/Aggregates -fno-strict-aliasing
PFLAGS+= -I../../contrib/xbow/tos/interfaces
-I../../contrib/xbow/tos/system
-I../../contrib/xbow/tos/platform/$(PLATFORM)
-I../../contrib/xbow/tos/lib
-I../../contrib/xbow/tos/sensorboards/$(SENSORBOARD)
PFLAGS+=-DCC1K_DEF_FREQ=914077000
MSG_SIZE=49
include ../Makerules
include ../../contrib/xbow/apps/MakeXbowlocal

In AttrPressure and AttrPressureM.nc i have included:
 #define PRESENT

But whenever i run tinyDB i am getting null values  for pressure(press);
Plz  can somebody help me..i am really tired breaking my head over it.

Thank You in advance

--

-- 
(Continue reading)

Joe Polastre | 1 Jun 13:31 2006

Re: GlobalTime in Tmote from Moteiv

if (call GlobalTime.isValid()) {
  call GlobalTime.get();
}

-Joe

On 5/31/06, Jörgen Johansson <Jorgen.Johansson <at> saab.se> wrote:
> Can you explain with an example how I can use the Globaltime in the Delta example in Bomerang 2.0.2 ?
>
> /Jörgen Johansson
>
> -----Ursprungligt meddelande-----
> Från: joe.polastre <at> gmail.com [mailto:joe.polastre <at> gmail.com] För Joe Polastre
> Skickat: den 30 maj 2006 18:51
> Till: Jörgen Johansson
> Kopia: tinyos-help <at> millennium.berkeley.edu
> Ämne: Re: [Tinyos-help] GlobalTime in Tmote from Moteiv
>
>
> GlobalTime is provided by the NetSyncC component.  If you're not using
> networkwide synchronization, then there is no GlobalTime provided.
>
> -Joe
>
> On 5/30/06, Jörgen Johansson <Jorgen.Johansson <at> saab.se> wrote:
> > How can I access the GlobalTime from my code? I will have a main node as a time master.
> > Is the timesynchronization only active when compiled with "lowpower"?
> > Shall I include the file GlobalTime.nc or shall I wire the NetSync component?
> > What´s the accuracy of the GlobalTime?
> >
(Continue reading)

Jörgen Johansson | 1 Jun 15:13 2006
Picon

SV: GlobalTime in Tmote from Moteiv

How synchronized (us) is GlobalTime in different nodes? 
Is it possible to get an event e.g. once a second from GlobalTime?

/Jörgen Johansson

-----Ursprungligt meddelande-----
Från: joe.polastre <at> gmail.com [mailto:joe.polastre <at> gmail.com] För Joe Polastre
Skickat: den 1 juni 2006 13:32
Till: Jörgen Johansson
Kopia: tinyos-help <at> millennium.berkeley.edu
Ämne: Re: [Tinyos-help] GlobalTime in Tmote from Moteiv

if (call GlobalTime.isValid()) {
  call GlobalTime.get();
}

-Joe

On 5/31/06, Jörgen Johansson <Jorgen.Johansson <at> saab.se> wrote:
> Can you explain with an example how I can use the Globaltime in the Delta example in Bomerang 2.0.2 ?
>
> /Jörgen Johansson
>
> -----Ursprungligt meddelande-----
> Från: joe.polastre <at> gmail.com [mailto:joe.polastre <at> gmail.com] För Joe Polastre
> Skickat: den 30 maj 2006 18:51
> Till: Jörgen Johansson
> Kopia: tinyos-help <at> millennium.berkeley.edu
> Ämne: Re: [Tinyos-help] GlobalTime in Tmote from Moteiv
>
(Continue reading)

Munaretto, Daniel | 1 Jun 15:48 2006

How does "time" field work?TOS_Msg

In AM.h i found TOS_Msg that i'm using. If i display "time " field in my simulations on TinyViz, it's strange,
it assumes meaningless values. Does someone know how it works?

Thanks for your availability
Daniele

PS my purpose is to have a statistic about delay, so time when a mote send msg-time when it is received.

Tony L | 1 Jun 17:41 2006
Picon

random number

Hi,

I want to get a sequence of random number and I use RandomLFSR. Because it 
use TOS_LOCAL_ADDRESS as the seed, I get the same sequence of random number 
every time. Is there any one know how to change the seed to get a sequence 
of  'real' random number?

Best regards,
Tony

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

giovanni gamba | 1 Jun 17:46 2006
Picon

Timer 32 khz

Hi, i'm working with Tmote Sky. I need to use a timer that provides interface timer2<32 Khz> or any other timer that runs at 32 khz.
What can i use?
Please help me... it's urgent.

Thank you all

<div><p>Hi, i'm working with Tmote Sky. I need to use a timer that provides
interface timer2&lt;32 Khz&gt; or any other timer that runs at 32 khz.<br>
What can i use? <br>
Please help me... it's urgent.<br><br>
Thank you all<br></p></div>
Cory Sharp | 1 Jun 18:30 2006

Re: Timer 32 khz

Giovanni,

Use an 16-bit or 32-bit Alarm, like Alarm<T32khz,uint16_t>, allocated
with new Alarm32khzC().

Cory

On 6/1/06, giovanni gamba <giogamba82 <at> gmail.com> wrote:
> Hi, i'm working with Tmote Sky. I need to use a timer that provides
> interface timer2<32 Khz> or any other timer that runs at 32 khz.
>  What can i use?
>  Please help me... it's urgent.
>
>  Thank you all
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help <at> Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>

Gmane