[Tinyos-help] can I write to a file using nesC

2007-03-26 Thread vaibhav chakki
Hi All, I was wondering if there was any API in nesC that allows me to read/write to file to capture some data. If possible could you list the API names plz? Also, can I make C function calls from nesC code? I use the the __attribute__ ((C,spontaneous)); along with the C function letting the

[Tinyos-help] sending msgs in TinyOS2.0

2007-03-26 Thread Bhuvaneswari Ramkumar
Hello All , I was trying to do a send operation in TinyOS2.0 I read up the mote-pc communication part given in the documentation and tried using the simple TestSerial component but nothing gets sent though there is no error message if (call AMSend.send(AM_BROADCAST_ADDR, packet,

[Tinyos-help] Re: Possible problem in TOSSIM (tinyos-2.x)

2007-03-26 Thread Bernardo Avila Pires
My bad, my bad... I took a more conservative approach and started to fetch for errors in my doings, which was the case. There's no error, except for my public blasphemy as the first e-mail to a help community 2007/3/23, Bernardo Avila Pires [EMAIL PROTECTED]: Greetings! My name is

[Tinyos-help] Sampling @ 100 Hz on TMote

2007-03-26 Thread Oussama Chougna
Hello everybody, Does anyone know the best way to sample an ADC channel @ 100 samples per second? My problem is that I can only sample @ 50 Hz. I do this like: command result_t StdControl.start() { call Timer0.startPeriodic(20); //Each 20

[Tinyos-help] can I write to a file using nesC

2007-03-26 Thread vaibhav chakki
Hi All, I was wondering if there was any API in nesC that allows me to read/write to file to capture some data. If possible could you list the API names plz? Also, can I make C function calls from nesC code? I use the the __attribute__ ((C,spontaneous)); along with the C function letting the

[Tinyos-help] Re: Packet Acknowledgments

2007-03-26 Thread Ian Welch
After doing some investigation I changes the ACK_BYTE1 and ACK_BYTE2 variables to ACK_BYTE1 =0xc3, ACK_BYTE2 =0x21, This seems to solve my problem. I'm guessing that the spi from the radio is, at some point, sending over 0xBA and 0x83 and fooling the CC1000SendReceiveP.nc. Is

[Tinyos-help] Tmote Sky Installation Problems

2007-03-26 Thread Conard, Andrew
Hello, I ran into this make error when trying to compile Delta onto the tmote platform: tmote ident_flags tos_image bnp does not specify a valid target. Stop. I double checked my environment variables such as TOSROOT, TOSDIR, etc. I don't know what I am doing wrong here. Thanks.

[Tinyos-help] AM.h for telos

2007-03-26 Thread Abhishek Jain
Hi, I was looking at the AM.h file for telos motes where the packet structure is defined. There isn't any CRC field in the packet sent over the radio. What is the explanation for this? The AM.h file in tos/types (tinyos-1.x) does have a CRC field. But this file is not used when using telos

Re: [Tinyos-help] Tmote Sky Installation Problems

2007-03-26 Thread Joe Polastre
How did you install Boomerang? Did you receive any errors during the installation process? -Joe On 3/26/07, Conard, Andrew [EMAIL PROTECTED] wrote: Hello, I ran into this make error when trying to compile Delta onto the tmote platform: tmote ident_flags tos_image bnp does not specify a

[Tinyos-help] (no subject)

2007-03-26 Thread Partha Sarathi Mandal
Hi everyone, I have problem to get graphical display of the sensor network of TOSSIM by TestTinyViz: The graphical window just appears for very short time and disappear with following message. [EMAIL PROTECTED] /opt/tinyos-1.x/apps/testtinyviz $ export DBG=run1 [EMAIL PROTECTED]

Re: [Tinyos-help] RSSI(dbm)

2007-03-26 Thread Philip Levis
On Mar 25, 2007, at 7:29 PM, Senol Zafer ERDOGAN wrote: Hi all, i am confused about RSSI dbm value. In mail lists, i saw some formulas but i dont know which one is true? Please anyone helps me that which one is true? i use CC2420 chip. 1- rssi(dbm) = -51.3 * V rssi - 45.5 2- RSSI (dBm)

Re: [Tinyos-help] sending msgs in TinyOS2.0

2007-03-26 Thread Philip Levis
On Mar 26, 2007, at 2:46 AM, Bhuvaneswari Ramkumar wrote: Hello All , I was trying to do a send operation in TinyOS2.0 I read up the mote-pc communication part given in the documentation and tried using the simple TestSerial component but nothing gets sent though there is no error message

Re: [Tinyos-help] RSSI(dbm)

2007-03-26 Thread Senol Zafer ERDOGAN
Thank you, Philip - Original Message - From: Philip Levis [EMAIL PROTECTED] To: Senol Zafer ERDOGAN [EMAIL PROTECTED] Cc: tinyos-help@Millennium.Berkeley.EDU Sent: Monday, March 26, 2007 11:03 PM Subject: Re: [Tinyos-help] RSSI(dbm) On Mar 25, 2007, at 7:29 PM, Senol Zafer ERDOGAN

[Tinyos-help] EEPROM on Tossim

2007-03-26 Thread SANTOSH KUMAR
Hello all, I have written a program to write and read to EEPROM and I want to test this on tossim. These are the sequence of calls I do the initialization in StdControl.init(). command result_t StdControl.start() { call EEPROMControl.start(); call EEPROMWrite.startWrite();

RE: [Tinyos-help] strange behaviour disabling CCA in tinyos-2.x / cc2420

2007-03-26 Thread David Moss
I think we've got a fix for this, but I'm working on verification. The latest CC2420 stack is available in the tinyos-2.x-contrib directory under rincon/tos/chips/cc2420_lpl. This was recently updated (today). There is a new LPL scheme that disables CCA, and I had it running all weekend. One

Re: [Tinyos-help] strange behaviour disabling CCA in tinyos-2.x / cc2420

2007-03-26 Thread Alan Medlar
Thank you very much, today I think I have discovered a (slightly hackish) fix whereby, after strobing with STXON, I tell it to only interupt me on the falling edge of the SFD interupt (as opposed to at the beginning and the end) and it seems to just work (of course now the timestamp is for the

Re: [Tinyos-help] sending msgs in TinyOS2.0

2007-03-26 Thread Bhuvaneswari Ramkumar
sorry abt the ambiguity in my previous mail ok , so here is the error message verbatim : App.nc:12: generic component `AMSenderC' requires instantiation arguments App.nc:15: no match App.nc:17: endpoint is not a parameterised interface make: *** [exe0] Error 1 this is what i dont know how to

[Tinyos-help] RE: Question regardin EEPROM.

2007-03-26 Thread David Moss
Hi Santosh, I was reading your email earlier, and one thing came to mind at first: If your code works on the mica2, then your code can't be broken. I'm also not sure that TOSSIM supports EEPROM? Maybe someone else could fill in those details for me? But... let's take a look at your code. I'll

Re: [Tinyos-help] Reg. ADC on Tmote

2007-03-26 Thread Joe Polastre
Agreed with Michael; the values are consistent and only move around by a few millivolts even based on load, that is good. A simple LED that is on, as opposed to off, can affect the voltage read by the microcontroller. -Joe On 3/24/07, Michael Schippling [EMAIL PROTECTED] wrote: I think tmotes

[Tinyos-help] RE: Question regardin EEPROM.

2007-03-26 Thread SANTOSH KUMAR
Hi David, Firstly the buff in writeDone was for someother purpose which I did not use. It could be ignored. (I would surely be in trouble later thinking why I wrote it. :-) ) With respect to EEPROMWrite.write - The first parameter is the offset or as the interface files quotes @param line

Re: [Tinyos-help] Reg. ADC on Tmote

2007-03-26 Thread Madhu Mudigonda
So, it means the fluctuations in milli-volt in the sample reading I have given is accepatable. Is that? Sample reading: 2989,2988,2987,2986,2989,2985,2989,2986,2984.. Thanks-- Madhu On 3/26/07, Joe Polastre [EMAIL PROTECTED] wrote: Agreed with Michael; the values are consistent and only

Re: [Tinyos-help] sending msgs in TinyOS2.0

2007-03-26 Thread Philip Levis
On Mar 26, 2007, at 3:05 PM, Bhuvaneswari Ramkumar wrote: sorry abt the ambiguity in my previous mail ok , so here is the error message verbatim : App.nc:12: generic component `AMSenderC' requires instantiation arguments App.nc:15: no match App.nc:17: endpoint is not a parameterised

Re: [Tinyos-help] Reg. ADC on Tmote

2007-03-26 Thread Joe Polastre
Yes, that is not unusual operation. On 3/26/07, Madhu Mudigonda [EMAIL PROTECTED] wrote: So, it means the fluctuations in milli-volt in the sample reading I have given is accepatable. Is that? Sample reading: 2989,2988,2987,2986,2989 ,2985,2989,2986,2984.. Thanks-- Madhu On 3/26/07, Joe

[Tinyos-help] Mouting different volumes on TelosB platform...

2007-03-26 Thread nikhil
Hi, I am working on a project where I need to log temperature and humidity values on Telosb Flash. For this I would like to log this values on 2 different volumes so that it will be easier for me to retrieve them. I have formatted the Flash into two volumes using the Format application under

RE: [Tinyos-help] tinyos2 cc2420lpl locked-up node

2007-03-26 Thread David Moss
I've duplicated this issue very easily with NoDma, even with all the previous fixes we've made. The amount of debugging that Roman was able to do - especially in tracking it down to that one particular while() loop in Msp430spiNoDmaP - was very helpful. I haven't confirmed this, but I suspect