Re: [Tinyos-help] Sampling rate of MICA2 motes

2007-10-27 Thread raghavendra a
Hi, I made use of the LEDs and also sent back packets at significant points to get the time taken for the process and measured (Timer or sampling time set as 100ms) 75-78 secs for getting 250 samples 3-5 secs for writing this data into the FLASH I am using MICA2 motes with MDA320 boards. External

Re: [Tinyos-help] Sampling rate of MICA2 motes

2007-10-27 Thread Michael Schippling
Without handling your entire system I'm not really competent to pronounce opinions on how it should work, and I haven't used the MDA320 or it's code... My back'o'envelope calculation indicates that your 10/sec sample rate should be easily do-able without heroic measures. The HFS program is for ra

Re: [Tinyos-help] T2 :Tinyos Collection Tree and TOSSIM (cvs).

2007-10-27 Thread Philip Levis
On Oct 22, 2007, at 6:17 PM, Philip Levis wrote: On Oct 22, 2007, at 6:56 AM, Van der Haegen Mathieu wrote: Hi tinyos people! I'm using Tinyos 2 CVS version. I'm asking myself what is the status of the bug between TOSSIM 2 and the Collection Protocol. As I could read here : http://mail.mil

Re: [Tinyos-help] Problem running Tutorial 11 Tinyos 2

2007-10-27 Thread Philip Levis
On Wed, 2007-10-03 at 16:37 +0800, SANG Junjun wrote: > I have met the same problem. > > > On 9/12/07, Bhairav Desai <[EMAIL PROTECTED]> wrote: > Hi all, > I am trying to run tutorial 11 with tossim in tinyos 2. > I am using the files test.py, topo.txt and meyer-heavy.tx

[Tinyos-help] SplitControl Question

2007-10-27 Thread Bhuvaneswari Ramkumar
Hi, I'm trying to implement a simple sender-reciever with TinyOS 2.0. I used the AMSenderC and the AMReceiverC components.( with the AMSend and Recieve interfaces) While the sender works fine separately, the reciever does not. I keep getting these two error messages : component CC1000Csmap.nc:

[Tinyos-help] present sensor data problem

2007-10-27 Thread CHEUNG SAM
Hi, I use the Oscilloscope(java program demo in tinyOS 2.x)(tutorial 5) to show the sensor reading(by graph), but I want to show the reading of sensor(e.g. print the value of the sensor reading on the same window). How can I get the reading? P.S. I have found that Data.java has a function call

Re: [Tinyos-help] T2 :Tinyos Collection Tree and TOSSIM (cvs).

2007-10-27 Thread Van der Haegen Mathieu
Hi ! I really do not understand. I've the latest version from CVS. which I got with the command : cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos co -P tinyos-2.x I did that some days ago and today I did a 'cvs update' Anyway When I try to compile the EasyCollection app as described in the

[Tinyos-help] TOSSIM-T2 : interesting PYTHON script to generate a grid network (and get rid of the java tool)

2007-10-27 Thread Van der Haegen Mathieu
Hi everybody. I did a small python script that I think could be added in the examples for TOSSIM-T2: It's really useful for generating a grid topology network and uses the same model as the JAVA tool from T1. Anyway it permits to get rid of that tool and is really easy to use. I'm still working on

[Tinyos-help] Re: TOSSIM-T2 : interesting PYTHON script to generate a grid network (and get rid of the java tool)

2007-10-27 Thread Van der Haegen Mathieu
Hi again ! I just saw that a character in the file was making some troubles. (the 'é' in line 7) So i replaced it and I attach the new version. Sorry Mathieu On 26/10/2007, Van der Haegen Mathieu <[EMAIL PROTECTED]> wrote: > > Hi everybody. > > I did a small python script that I think could be a

Re: [Tinyos-help] T2 :Tinyos Collection Tree and TOSSIM (cvs).

2007-10-27 Thread Philip Levis
On Oct 26, 2007, at 6:04 AM, Van der Haegen Mathieu wrote: Hi ! I really do not understand. I've the latest version from CVS. which I got with the command : cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/ tinyos co -P tinyos-2.x I did that some days ago and today I did a 'cvs update' Anyway

[Tinyos-help] how to interface T2 with MATLAB

2007-10-27 Thread Saif A. Al-Hiddabi
Is there a newer guide on how to interface T2 with MATLAB? SAIF -Original Message- From: Cadet John W. Barron [mailto:[EMAIL PROTECTED] Sent: Thursday, October 25, 2007 5:46 AM To: Saif A. Al-Hiddabi; tinyos-help@Millennium.Berkeley.EDU Subject: Re: [Tinyos-help] matlab shutdown when ru

[Tinyos-help] CTPInfo interface(T2)

2007-10-27 Thread behnaz . bostanipour
Hi all, I've modified multihopOscilloscope application which uses CTP, and I've installed this application on 5 nodes,where the node with id 0 is the root. Actually I try to get the ETX for each node by calling CtpInfo.getEtx, it returns Success but it puts zero for all the ETX values for a

[Tinyos-help] problem about ACK by AMStardard.UART.Send

2007-10-27 Thread Chan kenniel
Dear all, First of all, thanks very much for you guys keeping helping me. And now I have used C to send TOS_Msg to Tossim. However, there's one problem. If I put the send function in the Timer.firedpart, then it keep sending data, and the serial forwarder can capture the data. However, if I put it

[Tinyos-help] Additional Deluge

2007-10-27 Thread under . actuate
Hello, Deluge is working just fine for me. I can get Delta and other programs to operate. However, I run into problems with a custom application. My application is a pretty large image. When I inject the image, the pinging just hangs. Is there ever a time when more than the couple lines in th

[Tinyos-help] modified MultihopOscilloscope(T2)

2007-10-27 Thread behnaz . bostanipour
Hi all, I've written a module ,let's call it for simplicity myModuleC.nc . I've created a configuration called myModuleAppC.nc which does the wiring for this module. In order to use this module as module of a multihop application,I add the line below to MultihopOscilloscopeAppC: components myMo

Re: [Tinyos-help] "/usr/lib/ncc/nesc_nx.h:16:22: error: inttypes.h: No such file or directory"

2007-10-27 Thread Kevin Klues
This probably means you haven't installed avr-libc correctly. Kevin On 10/13/07, Philip Levis <[EMAIL PROTECTED]> wrote: > > On Oct 13, 2007, at 12:14 PM, Michael Schippling wrote: > > > All those missing header files belong to the "basic system". > > If you were doing an actual micaz compile the

[Tinyos-help] is there any way to find out the energy utilization by wireless device

2007-10-27 Thread prannav shrestha
hi, i want to know to if there is any way to find out the energy utilization by wireless device. I am working with the mica2 in tinyOS2. I know this can b done, I have read some papers which shows that they have done that. Can anyone suggest how can I implement those things. prannav __

[Tinyos-help] tossim lossy model tinyos 2.0

2007-10-27 Thread Arpan Solanki
I am using tossim for tinyos 2.o. I want to creat a lossy environment where there are chances of packet loss. Do i have to modiy mayer-heavy.txt or topy.txt(the gain between two nodes), I am using the test.py, found in tinyos 2.0 tree, to run the simulation. What values should i put on that to cr

Re: [Tinyos-help] regarding amount of memory in mica2 - pls help

2007-10-27 Thread Jeongyeup Paek
mica2 has 4k RAM. if your TOS_DATA_LENGTH is 29 bytes, then your TOS_Msg structure will be something more than 34+ bytes. 34 * 100 = 3400. There must be some other usage of RAM too, and also some stack space. so... buffer[100] won't work due to lack of RAM. As a rule of thumb, you should keep

Fwd: [Tinyos-help] TOSSIM-T2 : interesting PYTHON script to generate a grid network (and get rid of the java tool)

2007-10-27 Thread Van der Haegen Mathieu
Thank you ! But that's just a little thing :) Mathieu ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] is there any way to find out the energy utilization by wireless device

2007-10-27 Thread Ricardo Tiago
Check Power Tossim 2 in tinyos-2.x-contrib (cedt) Ricardo On 10/27/07, prannav shrestha <[EMAIL PROTECTED]> wrote: > hi, > i want to know to if there is any way to find out the energy utilization by > wireless device. I am working with the mica2 in tinyOS2. I know this can b > done, I have read s

[Tinyos-help] Using MTS420 on tinyos 2

2007-10-27 Thread hamsa jega
Hi, I am trying to use MTS420 on tinyos 2. I was not able to find any xbow contrib application for the same. I was trying to adapt from what was given for tinyos 1. Is this attempt worth a shot? I am not very familiar and am trying to match the components - the documentation on tinyos 2 is a great

[Tinyos-help] About relay node on modified Surge program

2007-10-27 Thread JeongKwanhee
Hello everyone! I made a code to confirm received packets on relay nodes when it is in multihop networks. System folder -> AMpro~~.nc file if (buffer->addr == TOS_UART_ADDR) ok = call UARTSend.send(buffer); else{ ok = call UARTSend.send(buffer);

Re: [Tinyos-help] changing/adding-to message headers?

2007-10-27 Thread Michael Schippling
That is the purpose of the AM type field. You shouldn't have to change the header, just define different packet types and bodies and use their [AMMsgtype].receive(TOS_MsgPtr m) methods to implement specific behaviors. It's a little know secret, but only "length" bytes of the data packet are transm

Re: [Tinyos-help] SplitControl Question

2007-10-27 Thread Bernardo Avila Pires
You need to wire a SplitControl of yours to SplitControl provided by ActiveMessageC (and start it during execution). 2007/10/26, Bhuvaneswari Ramkumar <[EMAIL PROTECTED]>: > Hi, > > I'm trying to implement a simple sender-reciever with TinyOS 2.0. > I used the AMSenderC and the AMReceiverC compo

[Tinyos-help] Tossim problem

2007-10-27 Thread Chan kenniel
Dear all, When I use the command java net.tinyos.sf.SerialForwarder -comm tossim-serial to start up tossim, if I didn't run any nesC to connect tossim, then it would keep restarting like the followings. Connecting to Tossim event port at localhost:10585 [EMAIL PROTECTED] died - restarting (java.