[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 target 
`/opt/tinyos-2.x:/opt/tinyos-1.x/apps/Makerules'.  Stop.
 
i had the same message by using "make micaz sim"
 
in the application makefile there is include $(TOSROOT)/apps/Makerules
with TOSROOT = /opt/tinyos-2.x
 
i changed my Makefile like the Blink application one (which was compiled 
successefully) by using   include $(MAKERULES)
then, i get this messages
 

HTC.nc:19: component Main not found
HTC.nc:19: component GenericComm not found
In file included from HTC.nc:19:
In component `TreeBuilderM':
TreeBuilderM.nc:18: interface ReceiveMsg not found
TreeBuilderM.nc:19: interface SendMsg not found
TreeBuilderM.nc:27: syntax error before `buffer'
TreeBuilderM.nc:34: syntax error before `StdControl'
TreeBuilderM: `sendInitTreeReq.runTask' not implemented
TreeBuilderM: `relayTreeReq.runTask' not implemented
TreeBuilderM: `StdControl.start' not implemented
TreeBuilderM: `StdControl.stop' not implemented
In component `HTC':
HTC.nc:21: cannot find `StdControl'
HTC.nc:22: cannot find `Control'
HTC.nc:25: cannot find `ReceiveMsg'
HTC.nc:26: cannot find `SendMsg'
make: *** [sim-exe] Error 1
 
so, i which i can find a solution for this problem.
your help will be greatly appreciated.
 
best regards 
LaMisse.
_
Appelez vos amis de PC à PC -- C'EST GRATUIT
http://get.live.com/messenger/overview___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

RE: [Tinyos-help] Running tinyos 1.x and 2.x simultaneously

2008-02-09 Thread fatima zohra

hello,
yes, i guess you can.
actually i have installed XubuntOS which is composed by Ubuntu 7.0 and TinyOS 
2.x but i found both TinyOS 1.x and TinyOS 2.x.
However, you should be aware about the version you want to use and set up your 
environnement variable for this version.
 
Best regards.
 


Date: Sat, 9 Feb 2008 02:36:19 -0500From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: 
[Tinyos-help] Running tinyos 1.x and 2.x simultaneouslyHi all,Is it possible to 
have both tinyos 1.x and 2.x installed on my computer at the same 
time?Thanks!-- Nikhil 
_
Lancez des recherches en toute sécurité depuis n'importe quelle page Web. 
Téléchargez GRATUITEMENT Windows Live Toolbar aujourd'hui !
http://toolbar.live.com___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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 regards.

LaMisse


Date: Thu, 7 Feb 2008 16:45:52 +0530From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: 
[Tinyos-help] Warning when Upgrading TinyOS from 1.1.0 to 1.1.15




Hi 2 All...I have Upgrade the tinyos version from 1.1.0 to 1.1.15 (CVS 
snapshot release), but i m getting following Warning when i m running 
"toscheck" command.Warning is as given below : --> WARNING: CLASSPATH may not 
include '.' (that is,  the symbol for thecurrent working directory). Please add 
'.' to your CLASSPATH or you mayexperience configuration problems.Pls let me 
know about this problem if any one knows the solution of this 
problem...Thanx.

Get the freedom to save as many mails as you wish. Click here to know how.
_
Appelez vos amis de PC à PC -- C'EST GRATUIT
http://get.live.com/messenger/overview___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[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 grateful.
Best Regards. 

LaMisse
_
Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics !
http://spaces.live.com/signup.aspx___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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 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 grateful.> > Best 
> Regards.> >> >> >> > LaMisse> > You can look at:> 
> http://tinyos.cvs.sourceforge.net/tinyos/tinyos-1.x/contrib/tinydiff/> > for 
> TinyOS 1.x TinyDiffusion implementation.> > - om_p
 
thanks for the link,
i found the implementation, but there i a couple of problem:
1st: i found a "modified" version od Directed Diffusion protocol (DD) which is 
one push phase. actually, i am looking for the original one , the first one : 
two push diffusion.
2nd: the link you gave to mespeak about CVS. having no idea about what it could 
be (even after some readings about it) i don't find the way to download the 
whole implementation protocol, unless, i open each directory/ 
sub_directory/../file then look for the last version to download it (one by 
one).
 
so, do anyone know how to use this CVS feature? moreover, has anyone another 
code implementation for the DD protocol ?
 
your help will be kindly appreciated.
 
Best Regards.
_
Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics !
http://spaces.live.com/signup.aspx___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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 couldn't
run in on Tossim.
if anyone can help us, it would be kindly appreciated.
Best Regards.

2008/3/3, Boushra MAALA <[EMAIL PROTECTED]>:
>
> hello,
> anybody can say to me,  where i can find the code of tinydiff 2 , which
> works with tossim?
> is there any site , from which i can download the code ?
> thank you
> Boushra
>
> --
> Never miss a thing. Make Yahoo your 
> homepage.
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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 -rf=cells-diamond.txt 10
-t=60 : time period of simulation (60 sec)
-r=lossy : type of radio communication
-rf="file" : the reference to a file containing a topology
10 : number of nodes in simulation
 you can look for further details in tutorials.
Best Regards

2008/3/27, ilter yüksel <[EMAIL PROTECTED]>:
>
> Hello friends,
>
> I'm a new TinyOS user. As you expect i started with Blink
> application:) Unfortunately i must use windows because of work so i studies
> on XubunTOS over VMware. For this i appreciated Kevin Klues so much..
>
> Now could you help me how can i start Blink app. on TOSSIM?
>
> I use ">make micaz sim" command under apps/Blink folder. Then "build"
> folder was existed. Under /build these files exist;
> app.cmain.exe   pytossim.o tossim.o
> c-support.o  main.ihex  sim.o  wiring-check.xml
> ident_flags.txt  main.srec  tos_image.xml
>
> i tried ./main.exe but it says it's not a executable file.
>
> Also i tried ">make pc" command under apps/Blink but it gives an error;
> "ERROR, "pc ident_flags tos_image bnp" does not specify a valid target.
> Stop."
>
> How can i exec Blink app. on Tossim? I'm waiting your helps..
>
> Thank you.
> Regards..
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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
>
> may be more stable than cygwin... any one has information about
> them,please?
>
> i do not want to use the ready image ubuntu+tinyos..
>
> --
>
> :::
> http://www.travian.ae/?uc=ae2_26656
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[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 implementations (or even
other Directed Diffusion code), thanks to send me the corresponding link.
Best Regards.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[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 existing codes (in
tinyOS Contrib).
now, i have a small confusion, and i think that Nido isn't a complement of
Tossim.
am i right ? if so, what's the difference.
thanks in advance.
best regards.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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

2008-04-13 Thread fatima zohra
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 important to notice this problem ?? is
it a big issue if we use packed attribute ?

thanks in advance.
best regards.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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

2008-04-14 Thread fatima zohra
hello,
thanks for both of you for your reply.
however, i'm still confused.
actually my code will be use for simulation with Tossim; i have no real
motes to implement. so, there is no precised platform to use.
is it still a problem to use this "packed attribute" only for simulation
purpose?

Best Regards.

2008/4/14 Urs Hunkeler <[EMAIL PROTECTED]>:

> Hi,
>
> I thought that the compiler for the MSP430 architecture would simply
> ignore the packet attribute.
>
> Even if the code executes on the motes, some compilers might ignore the
> packet attribute. This results in the packet format not being equal on all
> platforms, essentially meaning that motes from different platforms cannot
> communicate.
>
> In TinyOS 2.x the nx_ types were introduced (like nx_uint8_t) that should
> be used for packet structs. The nx_ types ensure the same endianeness and
> the same data packing for all platforms.
>
> Cheers,
> 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 important to notice this
> > >  problem ?? is it a big issue if we use packed attribute ?
> > >
> >
> > Because if you used the packed attribute, words will not necessarily  be
> > aligned on word boundaries. Some architectures (such as the MSP430  of Telos
> > nodes) require words be aligned on word boundaries, or return  undefined
> > results. So if you use the packed attribute, you could have  code that
> > cannot work correctly.
> >
> > Phil
> >
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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

2008-04-14 Thread fatima zohra
Hi Urs,
let me thank you for your clear response. now, i can see the difference much
better.
actually, the main reason i asked about "packed attribute" is that; i found
a source code in tiny contrib ( TinyDiff application) where they use packed
attribute. and i wonna use this code in order to implement the Directed
Diffusion protocol but only for simulation purposes. and once i read the
hint, i got confused.

i would like to reply to "Tiny User" about "having some experience with
Tossim" i am,  actually, new either with tinyOS and Tossim. i am trying
to implement a protocol using Tossim. so i am still learning.
but we can help each other, just send your problem and i'll see if i (or
someone else from the tinyOS Help list) can response.

best regards.


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 would you need the packet attribute anyways? The only
> reason I see for using the packet attribute (on TinyOS 1.x) is to actually
> ensure 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:
>
> > hello,
> > thanks for both of you for your reply.
> > however, i'm still confused.
> > actually my code will be use for simulation with Tossim; i have no real
> > motes to implement. so, there is no precised platform to use.
> > is it still a problem to use this "packed attribute" only for simulation
> > purpose?
> >
> > Best Regards.
> >
> > 2008/4/14 Urs Hunkeler <[EMAIL PROTECTED]>:
> >
> >  Hi,
> > >
> > > I thought that the compiler for the MSP430 architecture would simply
> > > ignore the packet attribute.
> > >
> > > Even if the code executes on the motes, some compilers might ignore
> > > the
> > > packet attribute. This results in the packet format not being equal on
> > > all
> > > platforms, essentially meaning that motes from different platforms
> > > cannot
> > > communicate.
> > >
> > > In TinyOS 2.x the nx_ types were introduced (like nx_uint8_t) that
> > > should
> > > be used for packet structs. The nx_ types ensure the same endianeness
> > > and
> > > the same data packing for all platforms.
> > >
> > > Cheers,
> > > 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 important to notice this
> > > > >  problem ?? is it a big issue if we use packed attribute ?
> > > > >
> > > > >  Because if you used the packed attribute, words will not
> > > > necessarily  be
> > > > aligned on word boundaries. Some architectures (such as the MSP430
> > > >  of Telos
> > > > nodes) require words be aligned on word boundaries, or return
> > > >  undefined
> > > > results. So if you use the packed attribute, you could have  code
> > > > that
> > > > cannot work correctly.
> > > >
> > > > Phil
> > > >
> > > >
> >
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[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 an existing code for this ???
thanks for help.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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 would you need the packet attribute anyways? The only
> reason I see for using the packet attribute (on TinyOS 1.x) is to actually
> ensure 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
>
> Hello,
i am still having small confusion about the way we can define an attribute.
Once the packed attribute shouldn't be used, can you tell me what is the
best way to change this declaration:

#ifndef _ATTRIBUTE_H_
#define _ATTRIBUTE_H_

typedef struct {
  uint8_t  key;  // key
  uint8_t  op;// operator as defined in ..
  uint16_t value;  // Value

} __attribute__ ((packed)) Attribute;

typedef Attribute *AttributePtr;

#endif

your help will be kindly appreciated.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] current system time: problem with SimpleTime

2008-05-22 Thread fatima zohra
hello,
i am using TinyOS 1.x t simulate an application with Tossim.
i wonna know how to get the current system time.

i tried to use SimpleTimeM component, but i guess i have some troubles when
i call the command.

  tos_time_t timeStamp = call Time.get();

here is the compilation error :

MyApp 427: Time.get not connected

what should i do ? how to wire this interface properly
your help will be kindly appreciated.
best regards.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] calculating Time using SimpleTime

2008-05-22 Thread fatima zohra
Hi,
thanks for your reply,
could you show me the way you wired your interface.
i used SimpleTime but i get an error message while compiling :
here is my code :

configuration OnePhasePull {
}

implementation {

 components Main,
 OnePhasePullM,
 TxManC,
 GenericComm,
 TimerC,
 SimpleTime,
 LedsC;

  OnePhasePullM.Timer -> TimerC.Timer[unique("Timer")];
  OnePhasePullM.Time ->  SimpleTime.Time;
 // ...
}

*
module OnePhasePullM {
  uses {

interface Timer;
interface Time;
// ... some code lines
}
 //..some code lines
 tos_time_t timeStamp = call Time.get();
//. some code lines
}

and this is my error message :

OnePhasePullM.nc: In function `Publish.publish':
OnePhasePullM.nc:429: Time.get not connected
make: *** [exe0] Error 1


i whish you can help me to fix it.
i'll be so thankful.

2008/5/23 509 sukumar <[EMAIL PROTECTED]>:

> Hi,
>
>   I did using SimpleTime interface instead of SimpleTimeM.  Then I
> didnt get any error messages.
>
>   Better to check using SimpleTime interface.
>
>
>
>
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] problem with TOS_BCAST_ADDR !!!

2008-05-23 Thread fatima zohra
Hi,
i have a small problem when I send a diffusion message using TOS_BCAST_ADDR
i wonder if TOS_BCAST_ADDR can send the packet to all nodes even if they
aren't nieghbors to the sender node ???
to be clear; this is my network topology :

1:2 1:3
2:4 2:5 3:5 3:6
4:7 5:7 5:8 6:8
7:9 8:9

however i get many messages like this one  :

3: receiveInterestMessage: got INTEREST: sink: 1 seq: 0 prev: 4 ttl: 9

which means that node 3 receives a packet from node 4 while there is no
"direct" link between these two nodes !!!

can anyone tell me if this problem may be caused by TOS_BCAST_ADDR 
thus, how can I fix it ?

thanks a lot.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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 neighbor (so i have n packets to send ?? or there is
another way to handle this issue ?
i even thought about broadcasting the packet then filter it at each node
receiver !
your help will be kindly appreciated.
best regards.

2008/5/23 Paul Stickney <[EMAIL PROTECTED]>:

> Physical neighbors are not the same as logical neighbors.
>
> All physical neighbors (those within the TX range) will "hear" the
> message. When a non-broadcast message is sent it is typical that only
> the node for whom it is specifically addressed takes action (the
> message is simply discarded low on the stack). When a broadcast
> message is sent, this "filter" is bypassed and all physical neighbor
> nodes will hear the message. It's up to what "hears" the broadcast to
> decided what to do. (e.g. should it ignore the message because it
> isn't for itself even though it was able to "hear" it? does it even
> check/care if it was received via. broadcast?) If the nodes are truly
> not physically in communication then there is a relay going on.
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[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
2:4   2:5
3:5   3:6
4:7   5:7
5:8   6:8
7:9   8:9

when i send for instance a broadcast from node 3 (neighbor to nodes 1, 5 and
6 only) some other nodes (4 ,2 even others) can receive, then "use" this
message.

so, my question is : doesn't tinyos/Tossim take in consideration the network
topology to broadcast one packet to exactely the concerned neighbors ?
if it doesn't, it means that we should make a control after every received
packet ( IF the receiver isn't a sender neighbor THEN drop the packet)
and this isn't "easy" since we don't know yet our topology ( it's given only
when simulating).

your fast reply will be kindly appreciated.
best regards.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[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 to turn off my motes  in this case
what should i use as commands ?
  or there is a problem even after turning off the motes  what can it
exactly be ?

your fast reply is kindly appreciated.
best regards.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] about packets loss rate

2008-07-19 Thread fatima zohra
hello everyone,
i have an urgent problem to solve,
i am wandering if there is any module which calculates the loss rate in the
network.
i am using tinyOS 1.x and Tossim for simulation.
if no intefacre already exists, what is the easiest way to get the "average
packet loss rate" in the whole network ( it's a bit difficult for me since
i'm new in tinyOS and Tossim)
if anyone can help me regading this issue, i will be so grateful.
your fast reply is kindly appreciated.
best regards.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[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 some error messages while compiling. i
searched in tutorials and tinyOS-Help posts and it didn't help me much.
please can anyone tell me what are the components i should stop in order to
turn off motes (i.e. stop sending and receiving messages) and how ?

2) i want to know also, if there is any way to calculate packet loss rate ?

i do need your help;
your fast reply is kindly appreciated.
best regards
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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

2008-07-23 Thread fatima zohra
Thanks Omprakash for your reply,
may be i miss something... so this is the whole situation.
i am using a protocol which sends periodic messages ( so i can calculate the
number of the packets sent bu each node),
however, how could i calculate the number of packets that were not received
( i have 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 loss rate
> ?
>
> You can send a sequence of packets and calculate the number of packets
> that were not received.
>
> - om_p
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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, this makes it clear.
regards
2008/7/17 Eric Decker <[EMAIL PROTECTED]>:

> Its radio and it is possible that a transmission may be one way.  Not the
> typical case but I don't think you want to be assuming that transmission
> one way implies both ways.
>
> eric
>
>
>   On Wed, Jul 16, 2008 at 5:04 PM, Varun Jain <[EMAIL PROTECTED]>
> wrote:
>
>>Hi Nahr,
>>
>> When your neighbor can see you, that means you can also see it, isn't it??
>> Secondly, if you are in the transmitting range of your neighbor then isn't
>> your NEIGHBOR definitely in you range??
>>
>>
>>
>> Cheers,
>>
>>
>>
>> Varun Jain
>>
>>
>>
>>
>>
>> *From:* [EMAIL PROTECTED] [mailto:
>> [EMAIL PROTECTED] *On Behalf Of *Nahr ...
>> *Sent:* Thursday, July 17, 2008 2:04 AM
>> *To:* tinyos-help
>> *Subject:* Re: [Tinyos-help] Discovering Neighbors
>>
>>
>>
>> Hi,
>> I mean that I am in his Tx range but him not (in mine).
>> Although, your answer is convenient.
>> Thanks a lot
>>
>> Nahr Elk
>>
>> 2008/7/16 Omprakash Gnawali <[EMAIL PROTECTED]>:
>>
>> On Wed, Jul 16, 2008 at 5:40 AM, Nahr ... <[EMAIL PROTECTED]> wrote:
>> > Hi all.
>> >
>> > I remarked in CTP protocol that a node discovers its neighbors from
>> received
>> > messages.
>> > But there is a case in which my neighbor could see me so I can receive
>> his
>> > messages but him not so he can't receive msg from me
>> > consequently, why should I put him in my neighbor table?
>>
>> This description of the scenario is unclear - your neighbor could see
>> you so you can receive his messages? That does not make sense. If your
>> neighbor could see you, that means your neighbor could receive your
>> message.
>>
>> If you are talking about a scenario in which there is no
>> bi-directional link, although such links are not useful for CTP, the
>> only way to determine that a link is not bi-directional is by
>> maintaining some state about the link. So you have to insert the
>> neighbor into the table.
>>
>> - om_p
>>
>>
>>
>> ___
>> Tinyos-help mailing list
>> Tinyos-help@millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
>
> --
> Eric B. Decker
> Senior (over 50 :-) Researcher
> Autonomous Systems Lab
> Jack Baskin School of Engineering
> UCSC
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
<>___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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.
>
> - om_p
>

actually this isn't my scenario;
here is an example of my protocol mechanism:
we assume Node1 neighbor of nodes 2 & 3, and these two nodes are neighbors
of source S (S will send 10 msgs for example)
if 3 crashes so node 1 won't receive any more packets from 3. which means if
S sends messages (from numSeq = 5 to 9)  node A will never notice that he
missed the 5 last nodes (because he doesn't communicate with S directly ,
and node 3 is turned off for ever and node 2 won't help him to know what
node 3 lost as messages (from S or other sources) because seq number is
unique and different for each node (the 5th seqNum for node 2 may be the 1st
message of the source S)
now i wonna to calculate packet loss rate in my network since i have a set
of nodes who crash and will lose some sent messages.
am i clear now ? if yes, how to handle this situation.
thanks in advance.
best regards.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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 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.
> >>
> >> - om_p
> >
> > actually this isn't my scenario;
> > here is an example of my protocol mechanism:
> > we assume Node1 neighbor of nodes 2 & 3, and these two nodes are
> neighbors
> > of source S (S will send 10 msgs for example)
> > if 3 crashes so node 1 won't receive any more packets from 3. which means
> if
>
> You said there is one source but why is node 3 sending packets?

because node 3 will forward what the source is sending in order to reach the
sink (let's say for example sink = node1 to make it easier)

>
>
> > S sends messages (from numSeq = 5 to 9)  node A will never notice that he
>
> Node A is mentioned here for the first time. Is it node A or 1 or 2 or 3?

sorry, it's node 1 (which isn't a "direct" neighbor to the source S)

>
>
> > missed the 5 last nodes (because he doesn't communicate with S directly ,
>
> Nodes or packets?

sorry again, it's "packets"

>
>
> > and node 3 is turned off for ever and node 2 won't help him to know what
> > node 3 lost as messages (from S or other sources) because seq number is
> > unique and different for each node (the 5th seqNum for node 2 may be the
> 1st
> > message of the source S)
> > now i wonna to calculate packet loss rate in my network since i have a
> set
> > of nodes who crash and will lose some sent messages.
> > am i clear now ? if yes, how to handle this situation.
> > thanks in advance.
> > best regards.
>
> Your description has some typos and could use some clarification.
>
> - om_p
>

i mention in addition of what was said that: this simulation is done to
study the behavior of the network after some nodes crash.
so, first i choose some faulty nodes, then , turn them off for the rest of
simulation (they won't receive any packet in the future). in the end of my
simulation, i calculate my packet loss rate (i.e number of sent messages but
not received by faulty nodes once they are stopped).
is it clear now ?
Thanks for your help,
Best regards
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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 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.
> >> >>
> >> >> - om_p
> >> >
> >> > actually this isn't my scenario;
> >> > here is an example of my protocol mechanism:
> >> > we assume Node1 neighbor of nodes 2 & 3, and these two nodes are
> >> > neighbors
> >> > of source S (S will send 10 msgs for example)
> >> > if 3 crashes so node 1 won't receive any more packets from 3. which
> >> > means if
> >>
> >> You said there is one source but why is node 3 sending packets?
> >
> > because node 3 will forward what the source is sending in order to reach
> the
> > sink (let's say for example sink = node1 to make it easier)
> >>
> >> > S sends messages (from numSeq = 5 to 9)  node A will never notice that
> >> > he
> >>
> >> Node A is mentioned here for the first time. Is it node A or 1 or 2 or
> 3?
> >
> > sorry, it's node 1 (which isn't a "direct" neighbor to the source S)
> >>
> >> > missed the 5 last nodes (because he doesn't communicate with S
> directly
> >> > ,
> >>
> >> Nodes or packets?
> >
> > sorry again, it's "packets"
> >>
> >> > and node 3 is turned off for ever and node 2 won't help him to know
> what
> >> > node 3 lost as messages (from S or other sources) because seq number
> is
> >> > unique and different for each node (the 5th seqNum for node 2 may be
> the
> >> > 1st
> >> > message of the source S)
> >> > now i wonna to calculate packet loss rate in my network since i have a
> >> > set
> >> > of nodes who crash and will lose some sent messages.
> >> > am i clear now ? if yes, how to handle this situation.
> >> > thanks in advance.
> >> > best regards.
> >>
> >> Your description has some typos and could use some clarification.
> >>
> >> - om_p
> >
> > i mention in addition of what was said that: this simulation is done to
> > study the behavior of the network after some nodes crash.
> > so, first i choose some faulty nodes, then , turn them off for the rest
> of
> > simulation (they won't receive any packet in the future). in the end of
> my
> > simulation, i calculate my packet loss rate (i.e number of sent messages
> but
> > not received by faulty nodes once they are stopped).
> > is it clear now ?
>
> Almost.
>
> So you have a topology that looks like this: S --> 3 --> 1 but 3 is
> turned off so 1 is not receiving any packets but you want to find the
> loss rate on the link 3-->1?
>
> - om_p
>

that's it,
but S-->3-->1 is just a piece of my topology (i just noticed it to clarify ,
my topology is larger than that).
let's work with this small scenario.
what's the way to find the packet loss rate ?
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[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 messages :

2: TxMan: CommSendMsg: FAILed to send packet down to link layer!!!

I wonder if this warning can affect the packet sending.
any help will be kindly appreciated.
best regards.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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

2008-07-27 Thread fatima zohra
hi Mihael,
it seems really weird because i already checked the PowerStateM.nc file and
there are only 400 lines of code. so there is no existence of line 953
!!! does it make any sense for you ?
thanks in advance.
2008/7/27 Michael Schippling <[EMAIL PROTECTED]>

> Sounds like a define 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 ?
>> in addition, i notice that it is impossible to send any packet . here
>> is what i got by using dbg messages :
>>  2: TxMan: CommSendMsg: FAILed to send packet down to link layer!!!
>>  I wonder if this warning can affect the packet sending.
>> any help will be kindly appreciated.
>> best regards.
>>
>>
>> 
>>
>> ___
>> Tinyos-help mailing list
>> Tinyos-help@millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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

2008-07-30 Thread fatima zohra
hi all,
just to thank everybody who helped me to solve the problem about packet loss
rate.
my solution is working. i used some dbg messages to notify each packet loss;
then programmed a small script which calculate the number of occurence of
this "notification".
Hopefully, it works well.
Best 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 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 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.
> >> >> >>
> >> >> >> - om_p
> >> >> >
> >> >> > actually this isn't my scenario;
> >> >> > here is an example of my protocol mechanism:
> >> >> > we assume Node1 neighbor of nodes 2 & 3, and these two nodes are
> >> >> > neighbors
> >> >> > of source S (S will send 10 msgs for example)
> >> >> > if 3 crashes so node 1 won't receive any more packets from 3. which
> >> >> > means if
> >> >>
> >> >> You said there is one source but why is node 3 sending packets?
> >> >
> >> > because node 3 will forward what the source is sending in order to
> reach
> >> > the
> >> > sink (let's say for example sink = node1 to make it easier)
> >> >>
> >> >> > S sends messages (from numSeq = 5 to 9)  node A will never notice
> >> >> > that
> >> >> > he
> >> >>
> >> >> Node A is mentioned here for the first time. Is it node A or 1 or 2
> or
> >> >> 3?
> >> >
> >> > sorry, it's node 1 (which isn't a "direct" neighbor to the source S)
> >> >>
> >> >> > missed the 5 last nodes (because he doesn't communicate with S
> >> >> > directly
> >> >> > ,
> >> >>
> >> >> Nodes or packets?
> >> >
> >> > sorry again, it's "packets"
> >> >>
> >> >> > and node 3 is turned off for ever and node 2 won't help him to know
> >> >> > what
> >> >> > node 3 lost as messages (from S or other sources) because seq
> number
> >> >> > is
> >> >> > unique and different for each node (the 5th seqNum for node 2 may
> be
> >> >> > the
> >> >> > 1st
> >> >> > message of the source S)
> >> >> > now i wonna to calculate packet loss rate in my network since i
> have
> >> >> > a
> >> >> > set
> >> >> > of nodes who crash and will lose some sent messages.
> >> >> > am i clear now ? if yes, how to handle this situation.
> >> >> > thanks in advance.
> >> >> > best regards.
> >> >>
> >> >> Your description has some typos and could use some clarification.
> >> >>
> >> >> - om_p
> >> >
> >> > i mention in addition of what was said that: this simulation is done
> to
> >> > study the behavior of the network after some nodes crash.
> >> > so, first i choose some faulty nodes, then , turn them off for the
> rest
> >> > of
> >> > simulation (they won't receive any packet in the future). in the end
> of
> >> > my
> >> > simulation, i calculate my packet loss rate (i.e number of sent
> messages
> >> > but
> >> > not received by faulty nodes once they are stopped).
> >> > is it clear now ?
> >>
> >> Almost.
> >>
> >> So you have a topology that looks like this: S --> 3 --> 1 but 3 is
> >> turned off so 1 is not receiving any packets but you want to find the
> >> loss rate on the link 3-->1?
> >>
> >> - om_p
> >
> > that's it,
> > but S-->3-->1 is just a piece of my topology (i just noticed it to
> clarify ,
> > my topology is larger than that).
> > let's work with this small scenario.
> > what's the way to find the packet loss rate ?
>
> Considering your scenario and objective, you should have each node
> send packets periodically just for link estimation. Then you will be
> able to estimate link quality even in the absence of data packets.
>
> - om_p
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[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
compiling DDTest to a pc binary
ncc -o build/pc/main.exe -g -O0 -pthread -fnesc-nido-tosnodes=1000
-fnesc-simulate -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=pc
-fnesc-cfile=build/pc/app.c -board=micasb -DENABLE_GRADIENT_OVERRIDE -I.
-I../../tos/interfaces -I../../tos/system -I../../tos/lib
-I../../tos/platform/pc -DIDENT_PROGRAM_NAME=\"DDTest\"
-DIDENT_USER_ID=\"benhamida\" -DIDENT_HOSTNAME=\"XubunTOS-2\"
-DIDENT_USER_HASH=0x69fe3900L -DIDENT_UNIX_TIME=0x48916f16L
-DIDENT_UID_HASH=0x9df5d5cdL DDTest.nc -lm
/opt/tinyos-1.x/tos/platform/pc/external_comm.c: In function
'acceptConnection':
/opt/tinyos-1.x/tos/platform/pc/external_comm.c:158: warning: pointer
targets in passing argument 3 of 'accept' differ in signedness
/opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc: In function
'__nesc_nido_initialise':
/opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc:1066: warning: passing
argument 1 of 'memset' discards qualifiers from pointer target type
compiled DDTest to build/pc/main.exe
$ export DBG=usr1,usr3,error
$ ./build/pc/main.exe -t=90 -b=0 -r=lossy -rf=./topologies/grid3x3 9 >
stat.txt
*Segmentation fault (core dumped)
*


have any one already experienced this issue ?
your fast suggestions are kindly appreciated
best regards
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[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 would be appreciated.
 
Thanks,
Fatima
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[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 mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[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 have the following receives in my application. The configuration file has the following:

FaultM.Bcast -> Bcast.Receive[AM_COUNTMSG];
Bcast.ReceiveMsg[AM_COUNTMSG] -> Comm.ReceiveMsg[AM_COUNTMSG];
multihopM.ReceiveMsg[AM_SURGEMSG] -> Comm.ReceiveMsg[AM_SURGEMSG];
The AM_TYPE of AM_SURGEMSG is 17 and that of AM_COUNTMSG is 24.
My Module file is as follows:
Uses {
interface Receive as Bcast;
interface Receive as multihopM;
}
event TOS_MsgPtr Bcast.receive(TOS_MsgPtr pMsg, void* payload, uint16_t payloadLen) {
code.}
event TOS_MsgPtr multihopM.receive(TOS_MsgPtr pMsg, void* payload, uint16_t payloadLen) {
..code.}
I know that the two receives are not handled properly. I read the documentation of tinyos 2.x by Dr. Philip Levis but I didnot quite understand how to fix this in tinyos1.1.15.
Please help me understand this and point out what I can do to handle the receive properly. My compiles well without errors and only gives the above mentioned warning. Thanks in advance and I would greatly appreciate any help.

Regards,
Fatima
 
 
 
 
 
 
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[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 TelosB motes.

Any help/ suggestions will be greatly appreciated. I really help to complete
my project. Thanks in advance and happy holidays.

Cheers,
Fatima
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

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]> wrote:


On Dec 28, 2006, at 4:15 PM, Andrew Redfern wrote:

> Hi Fatima,
>
> I don't think DemosensorC is wired to the photo sensor for the
> TelosB.  I believe it's wired to the internal temperature sensor.
>

That sounds right. Not all Telos nodes have the photo sensor, after
all...

Phil


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[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/java export [EMAIL PROTECTED]:telos
java net.tinyos.surge.MainClass 125
 
I get the sensor network topology window but only base station mote is displayed. No other motes appear on the screen. The LEDS on the motes other than base station motes dont glow.
 
Also if I invoke the serial forwarder and then run "java net.tinyos.surge.MainClass 125" I get the following error
 
[EMAIL PROTECTED] /$ cd opt/tinyos-1.x/tools/java/net/tinyos/surge/

[EMAIL PROTECTED] /opt/tinyos-1.x/tools/java/net/tinyos/surge$ java net.tinyos.surge.MainClass 125Using AM group ID 125 (0x7d)Starting mote listener...java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)    at java.net.Socket.connect(Socket.java:426)    at java.net.Socket.connect(Socket.java:376)    at java.net.Socket.(
Socket.java:291)    at java.net.Socket.(Socket.java:119)    at net.tinyos.packet.SFSource.openSource(SFSource.java:56)    at net.tinyos.packet.AbstractSource.open(AbstractSource.java:77)
    at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)java.net.ConnectException: Connection refused: connect    at java.net.PlainSocketImpl.socketConnect(Native Method)    at java.net.PlainSocketImpl.doConnect
(PlainSocketImpl.java:305)    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)    at java.net.Socket.connect(Socket.java
:426)    at java.net.Socket.connect(Socket.java:376)    at java.net.Socket.(Socket.java:291)    at java.net.Socket.(Socket.java:119)    at net.tinyos.packet.SFSource.openSource
(SFSource.java:56)    at net.tinyos.packet.AbstractSource.open(AbstractSource.java:77)    at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)[EMAIL PROTECTED]:9001
 died - exiting (java.net.ConnectException: Connection refused: connect)
 
Any Help would kindly be appreciated!!!
Thanks in Advance
Zohra
 
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[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 
   java net.tinyos.surge.MainClass 125

 
I still get the error
[EMAIL PROTECTED] /opt/tinyos-1.x/tools/java/net/tinyos/surge$ java net.tinyos.surge.MainClass
 125Using AM group ID 125 (0x7d)Starting mote listener...java.net.ConnectException: Connection refused: connect     at java.net.PlainSocketImpl.socketConnect(Native Method)    at java.net.PlainSocketImpl.doConnect
(PlainSocketImpl.java:305)    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)    at java.net.Socket.connect(
Socket.java:426)    at java.net.Socket.connect(Socket.java:376)    at java.net.Socket.( Socket.java:291)    at java.net.Socket.(Socket.java:119)    at net.tinyos.packet.SFSource.openSource
(SFSource.java:56)    at net.tinyos.packet.AbstractSource.open(AbstractSource.java:77)     at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)    at java.net.PlainSocketImpl.doConnect (PlainSocketImpl.java:305)    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java
:171)    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)    at java.net.Socket.connect(Socket.java :426)    at java.net.Socket.connect(Socket.java:376)    at java.net.Socket.(
Socket.java:291)    at java.net.Socket.(Socket.java:119)    at net.tinyos.packet.SFSource.openSource (SFSource.java:56)    at net.tinyos.packet.AbstractSource.open(AbstractSource.java:77)
    at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)[EMAIL PROTECTED]:9001 died - exiting (
java.net.ConnectException: Connection refused: connect)
 
Is it java error? how do i fix it? I really need help as i have to finish my project in a very short time. does boomerang support telosB motes? 
 
Thanks in advance
Fatima 
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


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

2006-04-26 Thread Fatima Zohra
Hi Phil,
 
Thanks a lot for your prompt reply. I had norton's firewall. I disabled it and ran   java net.tinyos.sf.SerialForwarder -comm [EMAIL PROTECTED]:telosjava net.tinyos.surge.MainClass 125

 
Serial Forwarder uns and shows increase in packets. Main class gives a display but there is no increment in packets displayed. I am sure it has to do something with the sockets. Can you suggest what I should do to get the network topology correctly?

 
I really appreciate your help. Thanks a lot. Please tell me how to resolve the above mentioned problem.
 
Regards,
Fatima
 
 
On 4/26/06, Philip Levis <[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 MOTECOM>java net.tinyos.sf.SerialForwarder
 -comm [EMAIL PROTECTED]:telos>java net.tinyos.surge.MainClass 125>> I still get the error> [EMAIL PROTECTED] /opt/tinyos-1.x/tools/java/net/tinyos/surgeIf the SerialForwarder is running properly, you should be able
connect to port 9001.My only thought is that your machine (Cygwin, right?) has somefirewall software running on it, so the app can't open a socket?Phil
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-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 packets. Also MultiHop does not occur. Motes other than base station don't seem to transmit data at all. The Tx, Rx LEDS dont glow at all.

 
Please Help! I really need to complete my project. Any suggestions would greatly be appreciated
 
Thanks in Advance,
Fatima 
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help