Re: [Tinyos-help] multihop routing

2009-01-31 Thread Omprakash Gnawali
On Sat, Jan 31, 2009 at 10:36 AM, Adeel Akhtar
 wrote:
> Hi All, in tinyos1.x while running surge application the nodes starts
> sending packets after long delay why and up to that time they are getting
> the parent address as 65535 the broad cast address. any help about the
> multihop routing algo used in surge application?

Sounds like it is taking time to find the parent. You might consider
using CTP with TinyOS 2.x which finds parents quickly (in a matter of
seconds).

- 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] Multihop Routing

2009-04-28 Thread Omprakash Gnawali
2009/4/27 Mohammad Sajjad Hossain :
> Hi,
> I am trying to develop an application where I have two types of messages. I
> want to send one type of messages using a routing protocol (like MViz) and
> the other without any routing protocol. Is it doable?

Yes. Use Collection sender for data packets to be delivered to the
sink and AM sender for mesages without a routing protocol.

- 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] MULTIHOP ROUTING

2013-10-14 Thread Modi, Jenis
A simple search on google (https://www.google.com/#q=tinyos+installation) can 
help you for installation. If you find any errors, you can post it here.


Thanks.
Jenis

From: tinyos-help-boun...@millennium.berkeley.edu 
[tinyos-help-boun...@millennium.berkeley.edu] on behalf of Gangadher.mattaIIT 
Guwahati [gangadher.mat...@gmail.com]
Sent: Saturday, October 05, 2013 7:39 AM
To: tinyos-help@millennium.berkeley.edu
Subject: [Tinyos-help] MULTIHOP ROUTING

DEAR SIR,
I'm a student of computer science , working on Tiny OS and Nesc .
I'm not able to install Tiny Os properly . any kind of help in the following 
will be appreciated .

1.Installing TinyOS 2.x
2.Installing NCC (nesc) compiler
3.Mote works installation .

Thanking you,
yours sinceerely,
Gangadher Matta,
Final year student,
IIT Guwahati,
India .

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


Re: [Tinyos-help] MULTIHOP ROUTING

2013-10-14 Thread Mohd Adib Sarijari
I did recommend to use the virtual box with tiny OS, installation version.
It is ready with working tinyOS which you don't need to bother about the
installation problem.


On Mon, Oct 14, 2013 at 7:05 PM, Modi, Jenis wrote:

> A simple search on google (https://www.google.com/#q=tinyos+installation)
> can help you for installation. If you find any errors, you can post it here.
>
>
> Thanks.
> Jenis
> 
> From: tinyos-help-boun...@millennium.berkeley.edu [
> tinyos-help-boun...@millennium.berkeley.edu] on behalf of
> Gangadher.mattaIIT Guwahati [gangadher.mat...@gmail.com]
> Sent: Saturday, October 05, 2013 7:39 AM
> To: tinyos-help@millennium.berkeley.edu
> Subject: [Tinyos-help] MULTIHOP ROUTING
>
> DEAR SIR,
> I'm a student of computer science , working on Tiny OS and Nesc .
> I'm not able to install Tiny Os properly . any kind of help in the
> following will be appreciated .
>
> 1.Installing TinyOS 2.x
> 2.Installing NCC (nesc) compiler
> 3.Mote works installation .
>
> Thanking you,
> yours sinceerely,
> Gangadher Matta,
> Final year student,
> IIT Guwahati,
> India .
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Faculty of Electrical Engineering
Universiti Teknologi Malaysia.
http://trg.fke.utm.my/members/adib/
www.fke.utm.my
www.utm.my
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] MULTIHOP ROUTING

2013-10-14 Thread Eric Decker
On Mon, Oct 14, 2013 at 10:35 AM, Mohd Adib Sarijari
wrote:

> I did recommend to use the virtual box with tiny OS, installation version.
> It is ready with working tinyOS which you don't need to bother about the
> installation problem.
>

Using a Virtual Machine (VBOX, Parallels, VMWare, etc) is a great way to
build a development environment for TinyOS.

However, please don't recommend  using the XbunTOS VM that is floating
around somewhere on docs.tinyos.net.   It is very very old and labelled as
such.

The current TinyOS release is 2.1.2.   You should be using that for new
work.

See http://tinyos.stanford.edu/tinyos-wiki/index.php/Automatic_installation for
instructions on installed that.   These instructions can also be used to
install once you have a VM up running some flavor of Linux (Debian or
Ubuntu recommended, just because the installation packages are .deb based).


If someone want to volunteer to put together a new pre-configured UbunTOS
or XbunTOS image, I'd be happy to host it on tinyprod.net.


eric



>
> On Mon, Oct 14, 2013 at 7:05 PM, Modi, Jenis wrote:
>
>> A simple search on google (https://www.google.com/#q=tinyos+installation)
>> can help you for installation. If you find any errors, you can post it here.
>>
>>
>> Thanks.
>> Jenis
>> 
>> From: tinyos-help-boun...@millennium.berkeley.edu [
>> tinyos-help-boun...@millennium.berkeley.edu] on behalf of
>> Gangadher.mattaIIT Guwahati [gangadher.mat...@gmail.com]
>> Sent: Saturday, October 05, 2013 7:39 AM
>> To: tinyos-help@millennium.berkeley.edu
>> Subject: [Tinyos-help] MULTIHOP ROUTING
>>
>> DEAR SIR,
>> I'm a student of computer science , working on Tiny OS and Nesc .
>> I'm not able to install Tiny Os properly . any kind of help in the
>> following will be appreciated .
>>
>> 1.Installing TinyOS 2.x
>> 2.Installing NCC (nesc) compiler
>> 3.Mote works installation .
>>
>> Thanking you,
>> yours sinceerely,
>> Gangadher Matta,
>> Final year student,
>> IIT Guwahati,
>> India .
>>
>> ___
>> Tinyos-help mailing list
>> Tinyos-help@millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
>
> --
> Faculty of Electrical Engineering
> Universiti Teknologi Malaysia.
> http://trg.fke.utm.my/members/adib/
> www.fke.utm.my
> www.utm.my
>
> ___
> 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
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] MULTIHOP ROUTING

2013-10-14 Thread sandyireland
send error messages
and you can use virtual image of read tinyos.net install instrutions
http://tinyos.stanford.edu/tinyos-wiki/index.php/Installing_XubunTOS_(with_TinyOS_from_tp-freeforall/prod_repository)_in_VirtualBox



--
View this message in context: 
http://tinyos-help.10906.n7.nabble.com/MULTIHOP-ROUTING-tp23636p23653.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] MULTIHOP ROUTING

2013-10-14 Thread Eric Decker
sweet.

Any one know what version of XbunTOS is inside the VM?   Is it 13.04?

Anyone know how to get a hold of the author of the TinyOS wiki page.   His
user name looks like an international one.

I'd like to get his screen shots and see if I can get them added to the
wiki.




On Mon, Oct 14, 2013 at 5:13 PM, sandyireland  wrote:

> send error messages
> and you can use virtual image of read tinyos.net install instrutions
>
> http://tinyos.stanford.edu/tinyos-wiki/index.php/Installing_XubunTOS_(with_TinyOS_from_tp-freeforall/prod_repository)_in_VirtualBox
>
>
>
> --
> View this message in context:
> http://tinyos-help.10906.n7.nabble.com/MULTIHOP-ROUTING-tp23636p23653.html
> Sent from the TinyOS - Help mailing list archive at Nabble.com.
> ___
> 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
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] MULTIHOP ROUTING

2013-10-14 Thread Omprakash Gnawali
I think you are looking for Ádám Erdélyi, MSc on this page:
http://uni-klu.ac.at/tewi/ict/nes/pc/staff/


- om_p

On Mon, Oct 14, 2013 at 7:31 PM, Eric Decker  wrote:
>
> sweet.
>
> Any one know what version of XbunTOS is inside the VM?   Is it 13.04?
>
> Anyone know how to get a hold of the author of the TinyOS wiki page.   His
> user name looks like an international one.
>
> I'd like to get his screen shots and see if I can get them added to the
> wiki.
>
>
>
>
> On Mon, Oct 14, 2013 at 5:13 PM, sandyireland  wrote:
>>
>> send error messages
>> and you can use virtual image of read tinyos.net install instrutions
>>
>> http://tinyos.stanford.edu/tinyos-wiki/index.php/Installing_XubunTOS_(with_TinyOS_from_tp-freeforall/prod_repository)_in_VirtualBox
>>
>>
>>
>> --
>> View this message in context:
>> http://tinyos-help.10906.n7.nabble.com/MULTIHOP-ROUTING-tp23636p23653.html
>> Sent from the TinyOS - Help mailing list archive at Nabble.com.
>> ___
>> 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
>
>
> ___
> 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] MULTIHOP ROUTING

2013-10-20 Thread Omprakash Gnawali
Eric - were you able to contact Adam?

- om_p

On Mon, Oct 14, 2013 at 10:26 PM, Omprakash Gnawali  wrote:
> I think you are looking for Ádám Erdélyi, MSc on this page:
> http://uni-klu.ac.at/tewi/ict/nes/pc/staff/
>
>
> - om_p
>
> On Mon, Oct 14, 2013 at 7:31 PM, Eric Decker  wrote:
>>
>> sweet.
>>
>> Any one know what version of XbunTOS is inside the VM?   Is it 13.04?
>>
>> Anyone know how to get a hold of the author of the TinyOS wiki page.   His
>> user name looks like an international one.
>>
>> I'd like to get his screen shots and see if I can get them added to the
>> wiki.
>>
>>
>>
>>
>> On Mon, Oct 14, 2013 at 5:13 PM, sandyireland  wrote:
>>>
>>> send error messages
>>> and you can use virtual image of read tinyos.net install instrutions
>>>
>>> http://tinyos.stanford.edu/tinyos-wiki/index.php/Installing_XubunTOS_(with_TinyOS_from_tp-freeforall/prod_repository)_in_VirtualBox
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://tinyos-help.10906.n7.nabble.com/MULTIHOP-ROUTING-tp23636p23653.html
>>> Sent from the TinyOS - Help mailing list archive at Nabble.com.
>>> ___
>>> 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
>>
>>
>> ___
>> 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] MULTIHOP ROUTING

2013-11-06 Thread Gangadher.mattaIIT Guwahati
Sir , I have been working on a project dealing with iris motes. I have
installed TinyOs and other necessary components ( Programmers Notepad,
Graphviz , XSniffer, MoteConfig etc following Mote-works manual ) and now
working on multihop routing. I have installed Mote-view , programmed our
motes with XMesh-based sensor applications using Mote-config and set up
Sensor nodes and Base station. So far , we are able to visualize the
topology of the connected motes forming a wireless network . We have tried
to obtain live data from sensors ( light and temperature ) but
unfortunately we could not see any reading of temperature yet . We would be
grateful to you if you could guide us in using these sensors to obtain live
data and visualize the same through Mote-view interface.


On Sat, Oct 5, 2013 at 8:09 PM, Gangadher.mattaIIT Guwahati <
gangadher.mat...@gmail.com> wrote:

> DEAR SIR,
> I'm a student of computer science , working on Tiny OS and Nesc .
> I'm not able to install Tiny Os properly . any kind of help in the
> following will be appreciated .
>
> 1.Installing TinyOS 2.x
> 2.Installing NCC (nesc) compiler
> 3.Mote works installation .
>
> Thanking you,
> yours sinceerely,
> Gangadher Matta,
> Final year student,
> IIT Guwahati,
> India .
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] multihop routing algorithm

2010-02-20 Thread Omprakash Gnawali
On Sat, Feb 20, 2010 at 6:11 AM, Riki Tiki  wrote:
> hi, in the below code it uses interface RouteControl to send the data... i am 
> really sorry for asking this many times but, i still do not get how to find 
> out which routing algorithm it uses, if i am not mistaken in looking for the 
> correct source according to below link
>
> http://webs.cs.berkeley.edu/tos/tinyos-1.x/doc/multihop/multihop_routing.html
>
> it says that it uses "The implementation uses a shortest-path-first algorithm 
> with a single destination node (the root) and active two-way link 
> estimation." Is this what the below code uses as its routing algorithm? 
> thanks!

TinyOS 1.x has MintRoute and MultihopLQI routing protocols. TinyOS 2.x
has lqi and ctp routing protocols in addition to tymo and blip. You
seem to be using Moteiv TinyOS -- they have their own routing
protocols, but it might be similar to MultihopLQI. You can find the
source code for routing protocol in tos/lib in TinyOS 1.x, in
tos/lib/net in TinyOS 2.x.

- 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] Multihop routing protocols

2008-07-17 Thread Gaurav Chandwani
Hi Poonam,

If you are just starting, I would suggest you go for MultiHop Protocols in
TinyOS 2,
which are CTP(Collection Tree Protocol) and LQI(improved version of
MultiHopLQI in tinyos 1). These are made better by the developers based on
their experience with problems in
TinyOS 1 MultiHopProtocols.
CTP can be used with different link estimators: tos/lib/net/le and
tos/lib/net/4bitle(in CVS)
and the latter is supposedly better.

For tinyos 1 there are 3 Multihop Protocols: MultiHopLQI, MintRoute and
Route.

Hope this helps,

Regards,
Gaurav




On Thu, Jul 17, 2008 at 9:20 PM, Poonam Hiwal <[EMAIL PROTECTED]>
wrote:

> Hi all,
>
> Can you please help in finding what are the  multihop routing algorithms
> for wireless sensor networks.
> Is is worthful to look  MANET routing algorithm for wireless sensor
> metworks?
>
> Thanks,
> Poonam
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
-
To accomplish great things, we must not only act, but also dream; not only
plan, but also believe.
- Anatole France
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] multihop routing in surge

2006-07-07 Thread Tehn Yit Chin

Tehn Yit Chin wrote:

Hi,

I am experimenting with multihop routing in the surge tutorial. While I 
was browsing through the source, in particular, 
tos/lib/Router/MultiHopRouter.nc, I noticed that it uses MultiHopRouteM 
or MultiHopEngineM depending on whether OLD_ROUTING is defined.


What is the difference between the MultiHopRouteM and MultiHopEngineM? 
It appears that MultiHopRouteM has better facilities for routining a 
packet.


The reason that I am looking through the multihop source is that I am 
not able to get the packet to multihop in the Surge tutorial.


cheers,


I did some more digging, and found that it is calling 
RouteSelect.selectRoute() in MultiHopLEPSM.nc, however it appears to be 
returning a FAIL all the time.


Does this means that the motes are not able to find a suitable route, 
and just drop the packet?


I also programmed the base mote with the surge application and this is 
the application that appears to be forwarding packets. I don't 
understand why the base station is forwarding any packets as the packets 
already reached its destination, right?


Tehn Yit Chin
Embedded System Engineer, Grey Innovation Pty. Ltd.


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


Re: [Tinyos-help] Multihop Routing in TinyOS

2006-08-15 Thread Omprakash Gnawali

Hi Sumit,

Your guesses for questions 1a and 1b seem correct. How about you use
TOSSIM to verify that you have a working version of Surge and
MintRoute before you try to plug that in to EmStar?

Regarding question 2, you can use the dbg facility (or printfs) in the
code to look at the routing tables. For example, this excerpt from
MultiHopWMEWMA.nc prints the routing table on stdout:

549 : #ifndef NDEBUG 
550 : { 
551 :   int i; 
552 :   
dbg(DBG_ROUTE,"\taddr\tprnt\tcost\tmisd\trcvd\tlstS\thop\trEst\tsEst\tDesc\n"); 
553 :   for (i = 0;i < ROUTE_TABLE_SIZE;i++) { 
554 : if (NeighborTbl[i].flags) { 
555 :   dbg(DBG_ROUTE,"\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\n", 
556 : NeighborTbl[i].id, 
557 :   NeighborTbl[i].parent, 
558 :   NeighborTbl[i].cost, 
559 :   NeighborTbl[i].missed, 
560 :   NeighborTbl[i].received, 
561 :   NeighborTbl[i].lastSeqno, 
562 :   NeighborTbl[i].hop, 
563 :   NeighborTbl[i].receiveEst, 
564 :   NeighborTbl[i].sendEst, 
565 :   NeighborTbl[i].childLiveliness); 
566 : } 
567 :   } 
568 :   if (gpCurrentParent) { 
569 : dbg(DBG_ROUTE,"MultiHopWMEWMA: Parent = 
%d\n",gpCurrentParent->id); 
570 :   } 
571 : } 
572 : #endif 


- om_p


---

Hi,

I am trying to simulate the Mutlihop Network in EMSTAR but I have some
confustion which I want to get cleared before moving forward. I am sending
this mail second time because no one has answered my questions yet. I hope
this time these will be answered.

Question1:
In this simulation I am just trying to simulate 100 nodes sending some data
to Sink using Multihop routes. For this I used a given application named
Surge  which have source code in "../tinyos-1.x/apps/Surge" directory. Now I
made a small change in MultihopWMEWMA Component (stored in
../tinyos-1.x/tos/lib/MintRoute)
by replacing 0 to 1 for BASE_STATION_ADDRESS. I did it because I have been
told that EMSTAR will not support any node with ID equals to 0 and  I'm
using EMSIM for simulations. So my doubt is:
1.a: By replacing 0 with 1 as BASE_STATION_ADDRESS, it shouldnot affect the
functionality of the nodes except now node with address 1 will automatically
act as sink?
1.b: Will nodes be able to make their routes automatically to Sink with Id =
1 in the simulation?

( Also, in MultihoWMEWMA.nc, i understand that base station will just keep
discarding data it recieve and will not forward it to other nodes, so for
simulation purpose where I just want track traffic it should work fine
without making any special change for SINK node).

Question2:
2.a: I would like to know about routing table which each node keeps to
maintaing routes to sink here and how they're connected to each other. I
mean how to access the information stored in routing table of each node in
simulation.
2.b: Using emview/tinydb, is it possible to see actual placing of nodes and
their routing structures which nodes formed.

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


Re: [Tinyos-help] MultiHop Routing using Route Library

2009-11-21 Thread Omprakash Gnawali
On Fri, Nov 20, 2009 at 6:57 AM, Anand Chandrashekar  wrote:
> Hello,
>           I require some urgent guidance in this regard. We were
> implementing a transport protocol and to achieve multi-hop routing we need
>  to use the route library. I have a doubt regarding this. The data at the
> final destination is received by the multihop component of the Route Library
> and we need to take that and pass it to the application layer. I was not
> able to figure out as to how we can take the received data from the multihop
> component module of the route library into our program and pass it on to the
> application layer. Should we use the Intercept Interface to get the data
> from the route library module? If so how can we do this? I really need some
> urgent help with respect to this. Please guide.

This is how the forwarder signals Intercept:
191 // Ordinary message requiring forwarding
  192 if (pMsg->addr == TOS_LOCAL_ADDRESS) { // Addressed to local node
  193   if ((signal
Intercept.intercept[id](pMsg,&pMHMsg->data[0],PayloadLen)) == SUCCESS)
{
  194 pMsg = mForward(pMsg,id);
  195   }
  196 }
  197 else {
  198   // Snoop the packet for permiscuous applications
  199   signal Snoop.intercept[id](pMsg,&pMHMsg->data[0],PayloadLen);
  200 }
  201

You need to write a handler for this event in your application after
wiring the Intercept interface to your application. It is similar to
capturing a Timer.fired() event.

- 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] MultiHop Routing using Route Library

2009-11-21 Thread Akankshu Dhawan
Hi All
I am also implementing a multi hop clustering algorithm. I wanted to know if
there is a way to send messages to a subset of all the motes deployed ? I
want to use this for intra cluster communication. If a group of Nodes can be
given an ID and cluster head sends to the entire group and once we have a
new cluster head that also sends to all the members in the group except
itself..

I would be grateful to any help I can get here.

Thanks
Akankshu

On Sat, Nov 21, 2009 at 12:09 PM, Omprakash Gnawali  wrote:

> On Fri, Nov 20, 2009 at 6:57 AM, Anand Chandrashekar 
> wrote:
> > Hello,
> >   I require some urgent guidance in this regard. We were
> > implementing a transport protocol and to achieve multi-hop routing we
> need
> >  to use the route library. I have a doubt regarding this. The data at the
> > final destination is received by the multihop component of the Route
> Library
> > and we need to take that and pass it to the application layer. I was not
> > able to figure out as to how we can take the received data from the
> multihop
> > component module of the route library into our program and pass it on to
> the
> > application layer. Should we use the Intercept Interface to get the data
> > from the route library module? If so how can we do this? I really need
> some
> > urgent help with respect to this. Please guide.
>
> This is how the forwarder signals Intercept:
> 191 // Ordinary message requiring forwarding
>  192 if (pMsg->addr == TOS_LOCAL_ADDRESS) { // Addressed to local node
>  193   if ((signal
> Intercept.intercept[id](pMsg,&pMHMsg->data[0],PayloadLen)) == SUCCESS)
> {
>  194 pMsg = mForward(pMsg,id);
>  195   }
>  196 }
>  197 else {
>  198   // Snoop the packet for permiscuous applications
>  199   signal Snoop.intercept[id](pMsg,&pMHMsg->data[0],PayloadLen);
>  200 }
>  201
>
> You need to write a handler for this event in your application after
> wiring the Intercept interface to your application. It is similar to
> capturing a Timer.fired() event.
>
> - om_p
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
First they ignore you, then they laugh at you, then they fight you, then you
win.
- Mahatma Gandhi
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Multihop Routing Application in TinyOS 2.0.2

2008-08-22 Thread Zainul M Charbiwala
Hi Dinesh,

Take a look at MultihopOscilloscope and MViz in the apps directory.
They both use CTP for multihop data collection.

Regards,

Zainul.

On Fri, Aug 22, 2008 at 11:31 AM, Dinesh Koya <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I am new to tinyos and I have just started working on with the telosb motes.
> I am just trying out to understand the applications included in the tinyos
> package. When I was looking into some of them I found Active Messages which
> are said to be single-hop communication protocols. I would like to know if
> there are some protocols for multi-hop communication included with tinyos
> 2.0.2 as I am currently working on that particular version of tinyos. Also I
> would like to know if there are some applications in tinyos 2.0.2 package
> that work on Multi-hop communications. Could some help me out !
>
> Thanks for any help
>
> Dinesh
>
> 
> Unlimited freedom, unlimited storage. Get it now
> ___
> 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] multihop routing does not work almost always

2014-09-22 Thread José Silva Oliveira Araujo
Hi Hamidreza,

Do you have to use TinyOS 1.x? I guess the SurgeTelos app is for that version. 
Why don't you use the most recent CTP or RPL protocols instead? RPL is under 
TestRPL in the tests folder in the tinyos 2.x version and CTP is under the 
EasyCollection apps folder.

Best,
Jose

-Original Message-

Message: 1
Date: Sun, 21 Sep 2014 14:28:57 +0330
From: Hamidreza Hosseini 
Subject: [Tinyos-help] multihop routing does not work almost always
To: tinyos-help@millennium.berkeley.edu
Message-ID:

Content-Type: text/plain; charset="iso-8859-1"

Hi all,

I want to use multihop libraries on TelosB motes. I programmed motes with 
SurgeTelos app, but it does not work correctly almost always.

I have two motes and a gateway. First I put the motes in a location that both 
of them could reach the gateway and messages of both of them was received by 
gateway.
Then I placed one of them in a further location. Its messages received by the 
one near to the gateway, but then near one did not forward received messages to 
gateway. But messages of the near one was received by gateway.
I placed motes in various locations, but more than 90 percents of times, 
messages were not forwarded to gateway.
I also used different multihop libraries, but still did not work correctly.

Do anyone have any suggestion?


--
Regards,
Hamidreza Hosseini
-- next part --
An HTML attachment was scrubbed...
URL: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20140921/9f76e179/attachment.html
 

--

Message: 2
Date: Sun, 21 Sep 2014 20:39:13 +0530
From: Jisha Mary Jose 
Subject: [Tinyos-help] Help for generating attacks in tossim
To: Tinyos-Help ,  Tinyos Help
Request 
Message-ID:

Content-Type: text/plain; charset="utf-8"

Hi,

Can anyone please help me and tell me how to demonstrate an attack in tinyos ie 
in TOSSIM. I have to generate a pollution attack when we do network coding for 
dissemination of packets.

please help me... urgent...

Regards,

Jisha Mary Jose
..jMj..
-- next part --
An HTML attachment was scrubbed...
URL: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20140921/85d59a3c/attachment-0001.htm
 

--

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

End of Tinyos-help Digest, Vol 137, Issue 22


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


Re: [Tinyos-help] multihop routing does not work almost always

2014-09-22 Thread Hamidreza Hosseini
Hi Jose,

Thanks for your response.
Yes, I am using TinyOS-1.x. I was thinking to immigrate to TinyOS-2.x. Is
there any requirements for developing TinyOS-2.x applications on TelosB? I
mean should I ask the manufacturer or all TelosB motes support TinyOS-2.x
already?

Also is there any available virtual image for TinyOS-2.x?

Regards,
Hamidreza

On Mon, Sep 22, 2014 at 12:29 PM, José Silva Oliveira Araujo 
wrote:

> Hi Hamidreza,
>
> Do you have to use TinyOS 1.x? I guess the SurgeTelos app is for that
> version. Why don't you use the most recent CTP or RPL protocols instead?
> RPL is under TestRPL in the tests folder in the tinyos 2.x version and CTP
> is under the EasyCollection apps folder.
>
> Best,
> Jose
>
> -Original Message-
>
> Message: 1
> Date: Sun, 21 Sep 2014 14:28:57 +0330
> From: Hamidreza Hosseini 
> Subject: [Tinyos-help] multihop routing does not work almost always
> To: tinyos-help@millennium.berkeley.edu
> Message-ID:
> <
> cafgnv45avu5syeyda06plyxuznp+crgbmaq-gjes8qu7ixs...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi all,
>
> I want to use multihop libraries on TelosB motes. I programmed motes with
> SurgeTelos app, but it does not work correctly almost always.
>
> I have two motes and a gateway. First I put the motes in a location that
> both of them could reach the gateway and messages of both of them was
> received by gateway.
> Then I placed one of them in a further location. Its messages received by
> the one near to the gateway, but then near one did not forward received
> messages to gateway. But messages of the near one was received by gateway.
> I placed motes in various locations, but more than 90 percents of times,
> messages were not forwarded to gateway.
> I also used different multihop libraries, but still did not work correctly.
>
> Do anyone have any suggestion?
>
>
> --
> Regards,
> Hamidreza Hosseini
> -- next part --
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20140921/9f76e179/attachment.html
>
> --
>
> Message: 2
> Date: Sun, 21 Sep 2014 20:39:13 +0530
> From: Jisha Mary Jose 
> Subject: [Tinyos-help] Help for generating attacks in tossim
> To: Tinyos-Help ,  Tinyos Help
> Request 
> Message-ID:
> <
> cadnvx9pshpqsnevf5+peb33fwegorqzyxppasv+clo1oofy...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> Can anyone please help me and tell me how to demonstrate an attack in
> tinyos ie in TOSSIM. I have to generate a pollution attack when we do
> network coding for dissemination of packets.
>
> please help me... urgent...
>
> Regards,
>
> Jisha Mary Jose
> ..jMj..
> -- next part --
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20140921/85d59a3c/attachment-0001.htm
>
> --
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> End of Tinyos-help Digest, Vol 137, Issue 22
> 
>



-- 
Regards,
Hamidreza Hosseini
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] multihop routing does not work almost always

2014-09-22 Thread José Silva Oliveira Araujo
Hi,

I am not sure how you started learning how to use TinyOS but there is a page: 
http://www.tinyos.net/ where all the information on how to install TinyOS on 
your operating system is available (go to the Learn section). Typically it is 
suggested to use Ubuntu for the developments as the installation becomes very 
easy. You just need to install tinyos in your OS and then compile the code and 
upload it to your telosb mote. Test this with the blink application as it is 
the simplest thing.

Good luck,
Jose

From: Hamidreza Hosseini [mailto:hamid166...@gmail.com]
Sent: den 22 september 2014 11:10
To: José Silva Oliveira Araujo
Cc: tinyos-help@millennium.berkeley.edu
Subject: Re: multihop routing does not work almost always

Hi Jose,

Thanks for your response.
Yes, I am using TinyOS-1.x. I was thinking to immigrate to TinyOS-2.x. Is there 
any requirements for developing TinyOS-2.x applications on TelosB? I mean 
should I ask the manufacturer or all TelosB motes support TinyOS-2.x already?

Also is there any available virtual image for TinyOS-2.x?

Regards,
Hamidreza

On Mon, Sep 22, 2014 at 12:29 PM, José Silva Oliveira Araujo 
mailto:ara...@kth.se>> wrote:
Hi Hamidreza,

Do you have to use TinyOS 1.x? I guess the SurgeTelos app is for that version. 
Why don't you use the most recent CTP or RPL protocols instead? RPL is under 
TestRPL in the tests folder in the tinyos 2.x version and CTP is under the 
EasyCollection apps folder.

Best,
Jose

-Original Message-

Message: 1
Date: Sun, 21 Sep 2014 14:28:57 +0330
From: Hamidreza Hosseini mailto:hamid166...@gmail.com>>
Subject: [Tinyos-help] multihop routing does not work almost always
To: 
tinyos-help@millennium.berkeley.edu
Message-ID:

mailto:cafgnv45avu5syeyda06plyxuznp%2bcrgbmaq-gjes8qu7ixs...@mail.gmail.com>>
Content-Type: text/plain; charset="iso-8859-1"

Hi all,

I want to use multihop libraries on TelosB motes. I programmed motes with 
SurgeTelos app, but it does not work correctly almost always.

I have two motes and a gateway. First I put the motes in a location that both 
of them could reach the gateway and messages of both of them was received by 
gateway.
Then I placed one of them in a further location. Its messages received by the 
one near to the gateway, but then near one did not forward received messages to 
gateway. But messages of the near one was received by gateway.
I placed motes in various locations, but more than 90 percents of times, 
messages were not forwarded to gateway.
I also used different multihop libraries, but still did not work correctly.

Do anyone have any suggestion?


--
Regards,
Hamidreza Hosseini
-- next part --
An HTML attachment was scrubbed...
URL: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20140921/9f76e179/attachment.html

--

Message: 2
Date: Sun, 21 Sep 2014 20:39:13 +0530
From: Jisha Mary Jose mailto:jishamary1...@gmail.com>>
Subject: [Tinyos-help] Help for generating attacks in tossim
To: Tinyos-Help 
mailto:tinyos-help@millennium.berkeley.edu>>,
  Tinyos Help
Request 
mailto:tinyos-help-requ...@millennium.berkeley.edu>>
Message-ID:

mailto:cadnvx9pshpqsnevf5%2bpeb33fwegorqzyxppasv%2bclo1oofy...@mail.gmail.com>>
Content-Type: text/plain; charset="utf-8"

Hi,

Can anyone please help me and tell me how to demonstrate an attack in tinyos ie 
in TOSSIM. I have to generate a pollution attack when we do network coding for 
dissemination of packets.

please help me... urgent...

Regards,

Jisha Mary Jose
..jMj..
-- next part --
An HTML attachment was scrubbed...
URL: 
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20140921/85d59a3c/attachment-0001.htm

--

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

End of Tinyos-help Digest, Vol 137, Issue 22




--
Regards,
Hamidreza Hosseini
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] multihop routing does not work almost always

2014-09-22 Thread Hamidreza Hosseini
Hi,

I started using a Fedora image on which TinyOS-1.x was installed by
manufacturer.
I will try to install TinyOS-2.x on that image and try running multihop
apps on it.

Thanks for your consideration,
Regards,
Hamidreza

On Mon, Sep 22, 2014 at 12:51 PM, José Silva Oliveira Araujo 
wrote:

>  Hi,
>
>
>
> I am not sure how you started learning how to use TinyOS but there is a
> page: http://www.tinyos.net/ where all the information on how to install
> TinyOS on your operating system is available (go to the Learn section).
> Typically it is suggested to use Ubuntu for the developments as the
> installation becomes very easy. You just need to install tinyos in your OS
> and then compile the code and upload it to your telosb mote. Test this with
> the blink application as it is the simplest thing.
>
>
>
> Good luck,
> Jose
>
>
>
> *From:* Hamidreza Hosseini [mailto:hamid166...@gmail.com]
> *Sent:* den 22 september 2014 11:10
> *To:* José Silva Oliveira Araujo
> *Cc:* tinyos-help@millennium.berkeley.edu
> *Subject:* Re: multihop routing does not work almost always
>
>
>
> Hi Jose,
>
>
>
> Thanks for your response.
>
> Yes, I am using TinyOS-1.x. I was thinking to immigrate to TinyOS-2.x. Is
> there any requirements for developing TinyOS-2.x applications on TelosB? I
> mean should I ask the manufacturer or all TelosB motes support TinyOS-2.x
> already?
>
>
>
> Also is there any available virtual image for TinyOS-2.x?
>
>
>
> Regards,
>
> Hamidreza
>
>
>
> On Mon, Sep 22, 2014 at 12:29 PM, José Silva Oliveira Araujo <
> ara...@kth.se> wrote:
>
> Hi Hamidreza,
>
> Do you have to use TinyOS 1.x? I guess the SurgeTelos app is for that
> version. Why don't you use the most recent CTP or RPL protocols instead?
> RPL is under TestRPL in the tests folder in the tinyos 2.x version and CTP
> is under the EasyCollection apps folder.
>
> Best,
> Jose
>
> -Original Message-
>
> Message: 1
> Date: Sun, 21 Sep 2014 14:28:57 +0330
> From: Hamidreza Hosseini 
> Subject: [Tinyos-help] multihop routing does not work almost always
> To: tinyos-help@millennium.berkeley.edu
> Message-ID:
> <
> cafgnv45avu5syeyda06plyxuznp+crgbmaq-gjes8qu7ixs...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Hi all,
>
> I want to use multihop libraries on TelosB motes. I programmed motes with
> SurgeTelos app, but it does not work correctly almost always.
>
> I have two motes and a gateway. First I put the motes in a location that
> both of them could reach the gateway and messages of both of them was
> received by gateway.
> Then I placed one of them in a further location. Its messages received by
> the one near to the gateway, but then near one did not forward received
> messages to gateway. But messages of the near one was received by gateway.
> I placed motes in various locations, but more than 90 percents of times,
> messages were not forwarded to gateway.
> I also used different multihop libraries, but still did not work correctly.
>
> Do anyone have any suggestion?
>
>
> --
> Regards,
> Hamidreza Hosseini
>
> -- next part --
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20140921/9f76e179/attachment.html
>
> --
>
> Message: 2
> Date: Sun, 21 Sep 2014 20:39:13 +0530
> From: Jisha Mary Jose 
> Subject: [Tinyos-help] Help for generating attacks in tossim
> To: Tinyos-Help ,  Tinyos Help
> Request 
> Message-ID:
> <
> cadnvx9pshpqsnevf5+peb33fwegorqzyxppasv+clo1oofy...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> Can anyone please help me and tell me how to demonstrate an attack in
> tinyos ie in TOSSIM. I have to generate a pollution attack when we do
> network coding for dissemination of packets.
>
> please help me... urgent...
>
> Regards,
>
> Jisha Mary Jose
> ..jMj..
> -- next part --
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20140921/85d59a3c/attachment-0001.htm
>
> --
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> End of Tinyos-help Digest, Vol 137, Issue 22
> 
>
>
>
>
>
> --
>
> Regards,
> Hamidreza Hosseini
>



-- 
Regards,
Hamidreza Hosseini
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] multihop routing for tinyos2.x and mica2 motes

2009-07-29 Thread Faisal Aslam
I will say use tinyOS implementation of Dymo routing 
(http://docs.tinyos.net/index.php/Tymo). They called it Tymo.
Dymo is modified form of AODV. They remove the routes after sometimes if 
it is not used and there is some timeout for each route maintained.
However, you could modify it to fulfill your needs (may be increase the 
timeout or remove it).
They have a variable DYMO_ROUTE_TIMEOUT for the timeout. See their code

best regards,
Faisal Aslam



Ellen Shlossberg wrote:
> Hello All,
>
> I have been reading through the mailing list and relative papers on 
> multi-hop routing in TinyOS and I am hoping someone can suggest a good 
> and simple implementation. I am using tinyos-2.x with mica2 motes and 
> the options for routing aren't always applicable to both 2.x and 
> mica2. This is a document I found useful on describing the routing 
> types, but it does not specify the locations of files and how to 
> implement the protocols.
>
> http://db.lcs.mit.edu/madden/html/tinyos-nsdi04.pdf
>
> My goal is to have around 20 motes turn on, discover routes to each 
> other by talking to their one-hop neighbors, and then maintain this 
> network and notice if any new mote has entered or if an existing one 
> has left. It appears that AODV would be useful, but the routes would 
> have to be retained in a routing table for an extended period (not 
> just for one-time use). What would be the best routing method to use? 
>
> I have Dissemination and Collection working, but I believe they do not 
> maintain specific routes, but rather used route discovery each time 
> they need to disseminate or collected. I've also read about 
> multiHopRoute - but could not find a specific implementation. Same for 
> LQI and CTP. Do these work with mica2?  Is there a simple way to test 
> these out in a small network of motes - say 4 or 5 motes? 
>
> Any help is appreciated!
>
> Thanks,
> Ellen
>
> -- 
> Ellen Shlossberg
> Columbia University
> MS Electrical Engineering
> 
>
> ___
> 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] multihop routing for tinyos2.x and mica2 motes

2009-07-29 Thread Ellen Shlossberg
Hi Faisal,
Thanks for the suggestion. I had tried briefly to install Dymo before but
found I was missing some key wirings, among other problems. Do you know if
there is an available code example that works (along with .h, config and
implementation files)?

Also, right now all 20 motes can talk to each other within one hop. What is
a good way to decrease the radio range for the mica2 - say no more than 1 or
2 meters? Is it the CC1000 control? Could you point me to a good help file
on correctly implementing the controller?

Thanks again,
Ellen

On Wed, Jul 29, 2009 at 10:55 AM, Faisal Aslam <
as...@informatik.uni-freiburg.de> wrote:

> I will say use tinyOS implementation of Dymo routing (
> http://docs.tinyos.net/index.php/Tymo). They called it Tymo.
> Dymo is modified form of AODV. They remove the routes after sometimes if it
> is not used and there is some timeout for each route maintained.
> However, you could modify it to fulfill your needs (may be increase the
> timeout or remove it).
> They have a variable DYMO_ROUTE_TIMEOUT for the timeout. See their code
>
> best regards,
> Faisal Aslam
>
>
>
> Ellen Shlossberg wrote:
>
>> Hello All,
>>
>> I have been reading through the mailing list and relative papers on
>> multi-hop routing in TinyOS and I am hoping someone can suggest a good and
>> simple implementation. I am using tinyos-2.x with mica2 motes and the
>> options for routing aren't always applicable to both 2.x and mica2. This is
>> a document I found useful on describing the routing types, but it does not
>> specify the locations of files and how to implement the protocols.
>>
>> http://db.lcs.mit.edu/madden/html/tinyos-nsdi04.pdf
>>
>> My goal is to have around 20 motes turn on, discover routes to each other
>> by talking to their one-hop neighbors, and then maintain this network and
>> notice if any new mote has entered or if an existing one has left. It
>> appears that AODV would be useful, but the routes would have to be retained
>> in a routing table for an extended period (not just for one-time use). What
>> would be the best routing method to use?
>> I have Dissemination and Collection working, but I believe they do not
>> maintain specific routes, but rather used route discovery each time they
>> need to disseminate or collected. I've also read about multiHopRoute - but
>> could not find a specific implementation. Same for LQI and CTP. Do these
>> work with mica2?  Is there a simple way to test these out in a small network
>> of motes - say 4 or 5 motes?
>> Any help is appreciated!
>>
>> Thanks,
>> Ellen
>>
>> --
>> Ellen Shlossberg
>> Columbia University
>> MS Electrical Engineering
>> 
>>
>> ___
>> Tinyos-help mailing list
>> Tinyos-help@millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>


-- 
Ellen Shlossberg
Columbia University
MS Electrical Engineering
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] multihop routing for tinyos2.x and mica2 motes

2009-07-29 Thread Faisal Aslam
I have not used Tymo myself. I hope someone else in the list could help you.

best regards,
Faisal Aslam

Ellen Shlossberg wrote:
> Hi Faisal,
>
> Thanks for the suggestion. I had tried briefly to install Dymo before 
> but found I was missing some key wirings, among other problems. Do you 
> know if there is an available code example that works (along with .h, 
> config and implementation files)?
>
> Also, right now all 20 motes can talk to each other within one hop. 
> What is a good way to decrease the radio range for the mica2 - say no 
> more than 1 or 2 meters? Is it the CC1000 control? Could you point me 
> to a good help file on correctly implementing the controller?
>
> Thanks again,
> Ellen
>
> On Wed, Jul 29, 2009 at 10:55 AM, Faisal Aslam 
>  > wrote:
>
> I will say use tinyOS implementation of Dymo routing
> (http://docs.tinyos.net/index.php/Tymo). They called it Tymo.
> Dymo is modified form of AODV. They remove the routes after
> sometimes if it is not used and there is some timeout for each
> route maintained.
> However, you could modify it to fulfill your needs (may be
> increase the timeout or remove it).
> They have a variable DYMO_ROUTE_TIMEOUT for the timeout. See their
> code
>
> best regards,
> Faisal Aslam
>
>
>
> Ellen Shlossberg wrote:
>
> Hello All,
>
> I have been reading through the mailing list and relative
> papers on multi-hop routing in TinyOS and I am hoping someone
> can suggest a good and simple implementation. I am using
> tinyos-2.x with mica2 motes and the options for routing aren't
> always applicable to both 2.x and mica2. This is a document I
> found useful on describing the routing types, but it does not
> specify the locations of files and how to implement the protocols.
>
> http://db.lcs.mit.edu/madden/html/tinyos-nsdi04.pdf
>
> My goal is to have around 20 motes turn on, discover routes to
> each other by talking to their one-hop neighbors, and then
> maintain this network and notice if any new mote has entered
> or if an existing one has left. It appears that AODV would be
> useful, but the routes would have to be retained in a routing
> table for an extended period (not just for one-time use). What
> would be the best routing method to use?
> I have Dissemination and Collection working, but I believe
> they do not maintain specific routes, but rather used route
> discovery each time they need to disseminate or collected.
> I've also read about multiHopRoute - but could not find a
> specific implementation. Same for LQI and CTP. Do these work
> with mica2?  Is there a simple way to test these out in a
> small network of motes - say 4 or 5 motes?
> Any help is appreciated!
>
> Thanks,
> Ellen
>
> -- 
> Ellen Shlossberg
> Columbia University
> MS Electrical Engineering
> 
> 
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> 
> 
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>
>
>
> -- 
> Ellen Shlossberg
> Columbia University
> MS Electrical Engineering

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


Re: [Tinyos-help] multihop routing for tinyos2.x and mica2 motes

2009-07-29 Thread Philip Levis

On Jul 29, 2009, at 7:10 AM, Ellen Shlossberg wrote:

> Hello All,
>
> I have been reading through the mailing list and relative papers on  
> multi-hop routing in TinyOS and I am hoping someone can suggest a  
> good and simple implementation. I am using tinyos-2.x with mica2  
> motes and the options for routing aren't always applicable to both  
> 2.x and mica2. This is a document I found useful on describing the  
> routing types, but it does not specify the locations of files and  
> how to implement the protocols.
>
> http://db.lcs.mit.edu/madden/html/tinyos-nsdi04.pdf
>
> My goal is to have around 20 motes turn on, discover routes to each  
> other by talking to their one-hop neighbors, and then maintain this  
> network and notice if any new mote has entered or if an existing one  
> has left. It appears that AODV would be useful, but the routes would  
> have to be retained in a routing table for an extended period (not  
> just for one-time use). What would be the best routing method to use?
>
> I have Dissemination and Collection working, but I believe they do  
> not maintain specific routes, but rather used route discovery each  
> time they need to disseminate or collected. I've also read about  
> multiHopRoute - but could not find a specific implementation. Same  
> for LQI and CTP. Do these work with mica2?  Is there a simple way to  
> test these out in a small network of motes - say 4 or 5 motes?

CTP works on mica2 nodes. Here's a paper describing how it works:

http://sing.stanford.edu/pubs/sing-09-01.pdf

CTP does not use on-demand route discovery: it continuously maintains  
routes to collection points. So it's more like DSDV than AODV/DYMO.

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


Re: [Tinyos-help] multihop routing for tinyos2.x and mica2 motes

2009-07-29 Thread Ellen Shlossberg
Thank you for all the advice. I am using the modified Collection protocol
from the tutorial. I'm still not sure of how it gathers a tree from the
program, but I used the Listen function and found that each packet received
at the root will include the id of a mote it has found since being turned
on. Is there a better way to trace the hops? Only the BaseStation mote is
connected via USB to the PC, the others use batteries.
Any suggestions for the power adjustment on the radios?

Thanks,
Ellen

On Wed, Jul 29, 2009 at 1:13 PM, Philip Levis  wrote:

>
> On Jul 29, 2009, at 7:10 AM, Ellen Shlossberg wrote:
>
>  Hello All,
>>
>> I have been reading through the mailing list and relative papers on
>> multi-hop routing in TinyOS and I am hoping someone can suggest a good and
>> simple implementation. I am using tinyos-2.x with mica2 motes and the
>> options for routing aren't always applicable to both 2.x and mica2. This is
>> a document I found useful on describing the routing types, but it does not
>> specify the locations of files and how to implement the protocols.
>>
>> http://db.lcs.mit.edu/madden/html/tinyos-nsdi04.pdf
>>
>> My goal is to have around 20 motes turn on, discover routes to each other
>> by talking to their one-hop neighbors, and then maintain this network and
>> notice if any new mote has entered or if an existing one has left. It
>> appears that AODV would be useful, but the routes would have to be retained
>> in a routing table for an extended period (not just for one-time use). What
>> would be the best routing method to use?
>>
>> I have Dissemination and Collection working, but I believe they do not
>> maintain specific routes, but rather used route discovery each time they
>> need to disseminate or collected. I've also read about multiHopRoute - but
>> could not find a specific implementation. Same for LQI and CTP. Do these
>> work with mica2?  Is there a simple way to test these out in a small network
>> of motes - say 4 or 5 motes?
>>
>
> CTP works on mica2 nodes. Here's a paper describing how it works:
>
> http://sing.stanford.edu/pubs/sing-09-01.pdf
>
> CTP does not use on-demand route discovery: it continuously maintains
> routes to collection points. So it's more like DSDV than AODV/DYMO.
>
> Phil
>



-- 
Ellen Shlossberg
Columbia University
MS Electrical Engineering
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] multihop routing for tinyos2.x and mica2 motes

2009-07-29 Thread Omprakash Gnawali
On Wed, Jul 29, 2009 at 2:53 PM, Ellen Shlossberg wrote:
> Thank you for all the advice. I am using the modified Collection protocol
> from the tutorial. I'm still not sure of how it gathers a tree from the
> program, but I used the Listen function and found that each packet received
> at the root will include the id of a mote it has found since being turned
> on.

If you look at the paper that Phil mentioned, there is a diagram of
the packet header and explanation of all the fields.

> Is there a better way to trace the hops? Only the BaseStation mote is

If you run TestNetwork application, parent is included in the payload.
With that, you should be able to construct the graph.

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