Re: [Tinyos-help] Sampling Noise level

2006-06-13 Thread Matthew J Whelan
Sean, I am assuming that you want to sample the noise in the RF frequency band.  You can use the RSSI signal from the CC1000 radio chip to get a good idea of what the noise level is at.  This signal is a current output that is connected to gnd across a resistor (and capacitor for filtering), so tha

[Tinyos-help] RSSI_VAL

2006-06-13 Thread Andres Aberasturi
Hi all, I am working with the localization of micaz motes (with the 1.1.7version of TinyOS), and for it, I need to know the RSSI value messured. At this moment, I am able to read the value, and see that when I separate the motes, this value dicreases. But which are the unit of this value ? Ho

Re: [Tinyos-help] RSSI_VAL

2006-06-13 Thread Matthew J Whelan
Take the RSSI value, which is an 8-bit SIGNED integer.  This is RSSI_VAL and is in units of dBm.  Subtract 45 dBm from this value.  That is the approximate received signal strength. Matt   [EMAIL PROTECTED] wrote: -To: tinyos-help@Millennium.Berkeley.EDUFrom: "Andres Aberasturi" <[EMAIL PROTECT

Re: [Tinyos-help] RSSI_VAL

2006-06-13 Thread Andres Aberasturi
Hi, I have an application that copies the "msg->strength" and saving it in an uint8_t data: uint8_t msg->data[4]=msg->strength then with my own xlisten, I visualize the "strength". Thanks for your attention, Andrés From: "Hui KANG" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [

Re: [Tinyos-help] Tmote Sky ACK

2006-06-13 Thread Joe Polastre
SP has an option to request reliability, which will let you know if the packet was acknowledged or not. Please see the SPSend interface documentation in /opt/moteiv/doc/nesdoc or read the SP paper at www.polastre.com/pubs.html -Joe On 6/12/06, giovanni gamba <[EMAIL PROTECTED]> wrote: Hi all,

[Tinyos-help] is possible with TinyViz?

2006-06-13 Thread Munaretto, Daniel
Hi all, i'd like to work with packages bigger than 29 bytes. So i modified in AM.h TOSH_DATA_LENGTH (but no more of 100 bytes, cause there are many warnings showed by the compiler). So the question is: does anyone know how to see in TinyViz all the data bytes? cause by default you can see on

RE: [Tinyos-help] Tmote Sky ACK

2006-06-13 Thread Adam
The easiest thing is to use GenericCom, you can enable ACk by call enableACK() command. For SP, maybe it is a good stuff, but it will take many efforts to understand the mechanism, since there is no good documentation on that -- the SP paper is high level, not much help to programming. Fro

Re: [Tinyos-help] using the hardware multiplier on msp430 for FFT

2006-06-13 Thread Philip Levis
On Jun 11, 2006, at 9:41 AM, Matthew J Whelan wrote: I don't think there is an interface, but using the hardware multiplier is a rather easy task to figure out. I haven't used it for FFT, but I have implemented digital filtering without any issues. You should check out the TI application

Re: [Tinyos-help] NesC and TinyOS

2006-06-13 Thread Philip Levis
On Jun 12, 2006, at 7:29 AM, Andres Aberasturi wrote: Hi all, We have been working with TinyOs and NesC some few months, but we still have some doubts. We want to ask you the following three questions: 1.- In some places, we have read that events can call commands, post tasks and signa

Re: [Tinyos-help] Help with simulators

2006-06-13 Thread Philip Levis
On Jun 12, 2006, at 8:41 AM, Aditya Bhave wrote: Hello all, Does any one know of a good simulator (preferably on a Windows based PC) that one can use to develop applications using the motes. I do not have access to the actual hardware and would like to work on projects with simulations.

Re: [Tinyos-help] MAC protocols in genealogy of tinyos protocols

2006-06-13 Thread Philip Levis
On Jun 12, 2006, at 2:10 PM, Adam wrote: Thanks again, Philip. May I ask you another question: in genealogy of tinyos protocols, what MAC protocols are used in each platform by default? Several people asked this question in the forum, but no one give an accurate answer. The default TinyO

Re: [Tinyos-help] Sampling Noise level

2006-06-13 Thread Philip Levis
On Jun 12, 2006, at 7:38 PM, Sean Casey wrote: Hi everyone, Is there a way to sample the noise in a given environment? I was interested in having a mote (mica2) just monitor the noise level, and not send or receive any packets. I checked the archives and I couldn't find anything on this

[Tinyos-help] make pc docs

2006-06-13 Thread Mikael Ifversen
Hello, make pc docs, produces the errors below, any help is appreciated, thanks Mikael $ make pc docs Making documentation for Blink on pc nesdoc /opt/tinyos-1.x/doc/nesdoc/pc -topdir="/home/TekMan" -topdir=/ -fnesc-is- app -pthread -fnesc-nido-tosnodes=1000 -fnesc-simulate -Wall -Wshadow

RE: [Tinyos-help] NesC and TinyOS

2006-06-13 Thread Adam
Phil, I have read your TinyOS programming manual, and still have some doubt regarding the data race conditions: (1) void foo() { c = d; } .. atomic { a = b; foo(); } ... First question is: does atomic protect the variable in both side. In this example, are a

Fwd: [Tinyos-help] NesC and TinyOS

2006-06-13 Thread David Gay
-- Forwarded message -- From: David Gay <[EMAIL PROTECTED]> Date: Jun 13, 2006 10:41 AM Subject: Re: [Tinyos-help] NesC and TinyOS To: Adam <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] On 6/13/06, Adam <[EMAIL PROTECTED]> wrote: (1) void foo() { c = d; } .. atomic {

Re: [Tinyos-help] NesC and TinyOS

2006-06-13 Thread Philip Levis
On Jun 13, 2006, at 10:41 AM, David Gay wrote: -- Forwarded message -- From: David Gay <[EMAIL PROTECTED]> Date: Jun 13, 2006 10:41 AM Subject: Re: [Tinyos-help] NesC and TinyOS To: Adam <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] On 6/13/06, Adam <[EMAIL PROTECTED]> wrote: (1)

Re: [Tinyos-help] NesC and TinyOS

2006-06-13 Thread David Gay
On 6/13/06, Adam <[EMAIL PROTECTED]> wrote: Page 39 Listing 4.24 in the Phil's manual says differently... I wish what you said is correct - easier to manage. Please clarify. Thanks. You're misinterpreting the text there. As Phil said in his answer, Listing 4.24 is an example of an optimisation

Re: [Tinyos-help] Tmote Sky ACK

2006-06-13 Thread Philip Levis
On Jun 13, 2006, at 9:34 AM, Adam wrote: The easiest thing is to use GenericCom, you can enable ACk by call enableACK() command. For SP, maybe it is a good stuff, but it will take many efforts to understand the mechanism, since there is no good documentation on that -- the SP paper is high

[Tinyos-help] Crash while programming TelosB

2006-06-13 Thread Meng Jiang
Has anyone every had the problem of computer crashing during programming of TelosB? I have a Sony Vaio S260 Laptop, and am running WindowsXP. I have TinyOS V 1.1.15. I dont' have any serial ports on my laptop so I had to use the USB to Serial Emulator from Telos.. So the mote is always assigned to

Re: [Tinyos-help] Tmote Sky ACK

2006-06-13 Thread Joe Polastre
On 6/13/06, Adam <[EMAIL PROTECTED]> wrote: The easiest thing is to use GenericCom, you can enable ACk by call enableACK() command. For SP, maybe it is a good stuff, but it will take many efforts to understand the mechanism, since there is no good documentation on that -- the SP paper is high lev

[Tinyos-help] RSSI

2006-06-13 Thread Keyan Mahadevan
I saw a few people talking about getting RSSI values. RSSI value seems to be zero when I use TOSSIM on a PC. Is that normal? Thanks Kn ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/li

Re: [Tinyos-help] RSSI

2006-06-13 Thread Philip Levis
On Jun 13, 2006, at 12:15 PM, Keyan Mahadevan wrote: I saw a few people talking about getting RSSI values. RSSI value seems to be zero when I use TOSSIM on a PC. Is that normal? Yes; TOSSIM in 1.x doesn't model RF signal strength. (2.x does, but it does not yet make it accessible to applica

[Tinyos-help] Cannot compile TOSSIM 2.0!!

2006-06-13 Thread Luis E. Palafox-Maestre
Hi, I recently upgraded to TinyOS 2, and I'm having trouble compiling for TOSSIM 2, this is what I get: $ make micaz sim mkdir -p build/micaz placing object files in build/micaz writing XML schema to app.xml compiling BlinkAppC to object file sim.o ncc -c -fPIC -o build/micaz/sim.o

Re: [Tinyos-help] RSSI

2006-06-13 Thread Keyan Mahadevan
A follow up question - is there any way I would be able to access the RSSI values in TOSSIM. Thanks KnOn 6/13/06, Philip Levis <[EMAIL PROTECTED]> wrote: On Jun 13, 2006, at 12:15 PM, Keyan Mahadevan wrote:> I saw a few people talking about getting RSSI values. RSSI value> seems to be zero when I

RE: [Tinyos-help] NesC and TinyOS

2006-06-13 Thread Adam
Thanks a lot. In the following common seeing code segment, I notice someone add 'atomic' before 'm_data = data;' (such as OscilloscopeRF), someone does not (such as Delta from Moteiv). Since another 'dataReady' interupt could come before task sendData is excuted, it seems to me the first 'atomic'

Re: [Tinyos-help] NesC and TinyOS

2006-06-13 Thread David Gay
On 6/13/06, Adam <[EMAIL PROTECTED]> wrote: In the following common seeing code segment, I notice someone add 'atomic' before 'm_data = data;' (such as OscilloscopeRF), someone does not (such as Delta from Moteiv). Since another 'dataReady' interupt could come before task sendData is excuted, it