[Tinyos-help] Help : segmentation fault problem !!!

2008-07-31 Thread fatima zohra
hi, i tried to execute my program in tinyos1.x under Tossim and i get a segmentation fault(core dumped) message, which stop the execution (before the end of simulation period) i add that i had two warnings while compiling my application : here is what i got : *$ make pc mkdir -p build/pc

Re: [Tinyos-help] help please : turn off mote packet loss rate ?

2008-07-30 Thread fatima zohra
regards 2008/7/26 Omprakash Gnawali [EMAIL PROTECTED] On Fri, Jul 25, 2008 at 3:22 PM, fatima zohra [EMAIL PROTECTED] wrote: 2008/7/25 Omprakash Gnawali [EMAIL PROTECTED]: On Fri, Jul 25, 2008 at 7:37 AM, fatima zohra [EMAIL PROTECTED] wrote: 2008/7/25 Omprakash Gnawali [EMAIL

[Tinyos-help] problem when compiling !!!

2008-07-27 Thread fatima zohra
hello, i have this warning about 30 times in my compilation: /opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc:953: warning: overflow in implicit constant conversion can anyone tell me what's wrong ? in addition, i notice that it is impossible to send any packet . here is what i got by using dbg

Re: [Tinyos-help] problem when compiling !!!

2008-07-27 Thread fatima zohra
that is being stuffed into a too-small variable. What's at that line of code? MS fatima zohra wrote: hello, i have this warning about 30 times in my compilation: /opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc:953: warning: overflow in implicit constant conversion can anyone tell me what's wrong

Re: [Tinyos-help] help please : turn off mote packet loss rate ?

2008-07-25 Thread fatima zohra
2008/7/25 Omprakash Gnawali [EMAIL PROTECTED]: On Wed, Jul 23, 2008 at 11:45 AM, fatima zohra [EMAIL PROTECTED] wrote: 2008/7/23 Omprakash Gnawali [EMAIL PROTECTED]: If you put sequence numbers in the packet, you can find out which packets were not received. For example, you sent

Re: [Tinyos-help] help please : turn off mote packet loss rate ?

2008-07-25 Thread fatima zohra
2008/7/25 Omprakash Gnawali [EMAIL PROTECTED]: On Fri, Jul 25, 2008 at 7:37 AM, fatima zohra [EMAIL PROTECTED] wrote: 2008/7/25 Omprakash Gnawali [EMAIL PROTECTED]: On Wed, Jul 23, 2008 at 11:45 AM, fatima zohra [EMAIL PROTECTED] wrote: 2008/7/23 Omprakash Gnawali [EMAIL

Re: [Tinyos-help] help please : turn off mote packet loss rate ?

2008-07-23 Thread fatima zohra
no ACK reply). is there any interface which does this ? your help is kindly appreciated. thanks in advance 2008/7/23 Omprakash Gnawali [EMAIL PROTECTED]: On Mon, Jul 21, 2008 at 1:05 PM, fatima zohra [EMAIL PROTECTED] wrote: ... 2) i want to know also, if there is any way to calculate packet

Re: [Tinyos-help] Discovering Neighbors

2008-07-23 Thread fatima zohra
hi everyone, i think what Nahr said has a sense. we can have a one way communication. the example attached can explain the situation. (one node can be in the range of its neighbor but this latter can't receive that node's packets) just because they have different radio range (for example). hope,

Re: [Tinyos-help] help please : turn off mote packet loss rate ?

2008-07-23 Thread fatima zohra
2008/7/23 Omprakash Gnawali [EMAIL PROTECTED]: If you put sequence numbers in the packet, you can find out which packets were not received. For example, you sent sequence numbers 1 through 10 but and received 1,2,3,4,6,7,8,9,10 then you know exactly how many packets were not received. -

[Tinyos-help] help please : turn off mote packet loss rate ?

2008-07-21 Thread fatima zohra
Hi, please i need your help and it's urgent 1) i want to turn off motes (on Tossim, TinyOS 1.x)... for this, i use StdControl.stop() where i stop all the components (timer, genericComm, flash) except Timer.stop() i couldn't find how to stop the other componnents (GenericComm and flash)... i get

[Tinyos-help] urgent : problem when turning off a mote !!!

2008-07-15 Thread fatima zohra
Hello, please i need your help for urgent, i want to turn off a set of motes in my network (i am using TinyOS 1.x with Tossim for simulation) for this, i just call StdControl.stop() however, i notice that these motes are still receiving and sending packets. so, whether, i use the wrong command

[Tinyos-help] HELP : broadcast msg is received by nodes they aren't sender's neighbors !!! how to handle ?

2008-07-08 Thread fatima zohra
Hi, i am using tinyos1.x with Tossim i have an urgent problem to fix. i am using TOS_BCAST_ADDR to send a packet to every neighbor node. however, my packet is also received by other nodes which they aren't neighbors to the sender node. to be clear this is an example : TOPOLOGY : 1:2 1:3

Re: [Tinyos-help] problem with TOS_BCAST_ADDR !!!

2008-05-23 Thread fatima zohra
Hi Paul, thanks for your fast reply, so, for my application (which is tested only by Tossim) there is no real physical neighbors. in this case, is the diffusion still doing the same procedure as you detailed ? if it does, should I change my packet.addr from TOS_BCAST_ADDR to a list of node's

Re: [Tinyos-help] what's the problem with attribute ((packed))

2008-05-03 Thread fatima zohra
2008/4/14 Urs Hunkeler [EMAIL PROTECTED]: Hi Fatima, I think it's mainly a question of style. Often something starts as a simple test, and then all of a sudden the code is in some production release and everybody has forgotten about the little hack for testing purposes. Then again, why

[Tinyos-help] generating packets (data/interest) using Tossim

2008-04-25 Thread fatima zohra
hi every one, i have to implement a publish/ subscribe class protocol (Directed Diffusion protocol) using Tossim for simulation ( i use only Tossim, no real motes to test). i want to know if there is a method for generating periodic and random packets (data or interest) for test. does anyone have

Re: [Tinyos-help] what's the problem with attribute ((packed))

2008-04-14 Thread fatima zohra
, Urs Philip Levis wrote: On Apr 13, 2008, at 7:32 AM, fatima zohra wrote: hello, while reading the TinyOS programmation manual here, i came across this important Hint : Programming Hint 14: Never, ever use the packed attribute. can anyone explain to me why is it so

Re: [Tinyos-help] what's the problem with attribute ((packed))

2008-04-14 Thread fatima zohra
that all platforms put the data bytes at the same offset when transmitting data. So if you only use one platform (simulation), then the packed attribute is not necessary, and if you use multiple platforms (testing on real hardware) you should not use it :-) Cheers, Urs fatima zohra wrote

[Tinyos-help] what's the problem with attribute ((packed))

2008-04-13 Thread fatima zohra
hello, while reading the TinyOS programmation manual herehttp://www.tinyos.net/tinyos-2.x/doc/pdf/tinyos-programming.pdf, i came across this important Hint : *Programming Hint 14: Never, ever use the packed attribute.* can anyone explain to me why is it so important to notice this problem ?? is

[Tinyos-help] NIDO vs TOSSIM

2008-04-07 Thread fatima zohra
hello, can anyone tell me the difference between NIDO and Tossim. it seems that they are two separate simulators... according to what i read in lesson 5 and lesson 11. Actually, i have to implement a protocol using Tossim. but during all this time i used make pc to compile, then execute several

[Tinyos-help] publish/subscribe implementaion

2008-04-03 Thread fatima zohra
Hello, i am looking for an implementation of any publish/subscribe protocol. actually, i need it to implement the Directed Diffusion Protocol. However, i've already found a code in sourceForge CVS (called TinyDiff) but it doesn't help me that much. so if anyone knows about other publish/subscribe

Re: [Tinyos-help] tinyos over Ubuntu

2008-04-02 Thread fatima zohra
hello, you can use Xbuntos, it works pretty well, i already try it. actually, i am using it. you can follow the instructions in http://klueska.doesntexist.com/installing_xubuntos_vm.html best regards. 2008/4/1, Tiny User [EMAIL PROTECTED]: i am trying to install Tiny os over Ubuntu using VMware

Re: [Tinyos-help] Tossim problem..

2008-03-27 Thread fatima zohra
hello, because u are using Tinyos 2.x not tinyOS 1.x so make micaz sim would work (other wise , u have to use make pc instead) now, the right command (i gues) is ./main.exe number_of_simulation_nodes however, you can add some options like this example: ./build/pc/main.exe -t=60 -r=lossy

Re: [Tinyos-help] tinydiff2 code help

2008-03-03 Thread fatima zohra
hello, i am facing the same problem: looking for Directed diffusion protocol which can work with tossim. all what i found is the tinydiff code in this address: http://tinyos.cvs.sourceforge.net/tinyos/tinyos-1.x/contrib/tinydiff/ if you don't have it yet, this could be helpful. but since now, i

RE: [Tinyos-help] implementation of Directed Diffusion Protocol

2008-02-26 Thread fatima zohra
Date: Sun, 17 Feb 2008 17:49:46 -0800 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Tinyos-help] implementation of Directed Diffusion Protocol CC: tinyos-help@millennium.berkeley.edu On Feb 17, 2008 1:03 PM, fatima zohra [EMAIL PROTECTED] wrote: hello every one, i am

[Tinyos-help] implementation of Directed Diffusion Protocol

2008-02-17 Thread fatima zohra
hello every one, i am here to ask you if there is any existing implementation of the Directed Diffusion Protocol (it's a protocol for data dissemintion in wireless sensor networks which uses gradients). i am looking for any existing code in TinyOS. if anyone can help me to find it, i'll be so

RE: [Tinyos-help] Warning when Upgrading TinyOS from 1.1.0 to 1.1.15

2008-02-09 Thread fatima zohra
Hello,to solve this problem you have to add the . to your CLASSPATH variable.for a temporal use, you can type: export CLASSPATH=:.:$CLASSPATH if you want to add it permanently you open your bash file, look for your CLASSPATH variable and add the . to its value. i hope this will help you. Best

[Tinyos-help] compiling error !!!

2008-01-20 Thread fatima zohra
hello, i tried to compile an application (Hierarchical Tree Construction, HTC) by using Tossim simulator in XbunTOS 2.0. i used the command make pc and this is my error message: Makefile:3: /opt/tinyos-2.x:/opt/tinyos-1.x/apps/Makerules: No such file or directorymake: *** No rule to make

Re: [Tinyos-help] Photo Sensor -TelosB

2006-12-29 Thread Fatima Zohra
Hi, Thank you for the reply. Thats right. DemosensorC is not wired to photo sensor. I wired the Hamamatsu PAR sensor to my application and now it works fine. HamamatsuC as Sensor; Main.StdControl - Sensor; AlgoM.ADC - Sensor.PAR; Thanks, Fatima On 12/28/06, Philip Levis [EMAIL PROTECTED]

[Tinyos-help] Photo Sensor -TelosB

2006-12-28 Thread Fatima Zohra
Hi All, I am using TelosB motes and TinyOS 1.1.15. What sensor readings is SurgeTelos giving. I checked DemosensorC and it is supposed to give photo-sensor readings. When I shine light on the telosb motes. I dont see any variation in the reading? How do I read the accurate light readings using

[Tinyos-help] Tinyos-2.x

2006-10-30 Thread Fatima Zohra
Hi All, I dont see tinyos-2.x tree after running the rpm 's. Has anyone successfully installed this version of tinyos. Is there an Installshield setup for Windows platform available or is there an installation CD available? I really need this version installed. Thanks for any help. Fatima

[Tinyos-help] Receive.receive uncombined

2006-10-30 Thread Fatima Zohra
Hi All, I get the follwing warning: nesc1: warning: calls to Receive.receive in CC2420RadioM are uncombinednesc1: warning: calls to ReceiveCombined.receive in FramerAckM are uncombined I did read about this and that the messages get fan-out. And I also read that this is handled in tinyos 2.x. I

[Tinyos-help] Telos Radio Power Consumption

2006-08-23 Thread Fatima Zohra
Hi All, I am trying to calculater the power consumed by the telos radio to transmit 1 Kb of data to a distance of 10 m. I understand that Total power consumed= Transmit electronics power (nJ/ bit) + Power Amplifier (nJ/ bit/ square meter) I want to know the values for telos motes. Any help

[Tinyos-help] SurgeTelos

2006-04-27 Thread Fatima Zohra
Hi All, Has anyone sucessfully run SurgeTelos on TelosB motes Using Tinyos 1.1.11. When I run java net.tinyos.surge.MainClass 125 after invoking serial forwarder I get a sensor network topology screen with Mote 0 showing. But It displays no data. Although serial forwarder shows increment in data

Re: [Tinyos-help] TelosB Java.net Error

2006-04-26 Thread Fatima Zohra
[EMAIL PROTECTED] wrote: On Apr 25, 2006, at 6:49 PM, Fatima Zohra wrote: Hi Cory, I had e-mailed earlier too regarding the problem I am facing with surgeTelos. I have seen many tinyos Help archives which state the same problem but no one has given a solution. I am using tinyos 1.1.11. unset

[Tinyos-help] TelosB Java.net Error

2006-04-25 Thread Fatima Zohra
Hi Cory, I had e-mailed earlier too regarding the problem I am facing with surgeTelos. I have seen many tinyos Help archives which state the same problem but no one has given a solution. I am using tinyos 1.1.11. unset MOTECOM java net.tinyos.sf.SerialForwarder -comm [EMAIL PROTECTED]:telos

[Tinyos-help] Telos mote: Surge Application GUI

2006-04-04 Thread Fatima Zohra
Hi I am trying to run SurgeTelos on telosb motes. I programmed the motes as following make telos reinstall.0 for the base station and make telos reinstall.n for other motes. After running the following commands in opt/tinyos-1.x/tools/javaexport [EMAIL PROTECTED]:telos java