[Tinyos-help] implementation of a new routing algorithm

Omprakash Gnawali gnawali at cs.uh.edu
Sun Aug 5 11:32:38 PDT 2012


It seems like you have your routing algorithm designed.

If you are curious about how to write code for a routing
protocol, I suggest reading the code for CTP (which you can find in
tos/lib/net/ctp). Although your protocol is different from CTP,
reading that code will give you an idea on how other people wrote code
for other routing protocols. Routing table management is done
in CtpRoutingEngineP.nc.

- om_p

On Mon, Jul 30, 2012 at 4:13 AM, mamta_b <mamtabucha at indiatimes.com> wrote:
>
> thanks for replying Omprakash.
> i am starting with static deployment of nodes where i know the positions of
> my nodes where they are placed. i want to group all nodes in different
> layers and in each node's routing table i want to store priorities of the
> nodes in layers towards the basestation i mean in the forward direction
> towards the basestation. i need to store only 3 priorites . now what
> structure do i need to create and how to implement it. thanks.
>
> Omprakash Gnawali-4 wrote:
>>
>> Why do you want to implement your own routing protocol? I am assuming
>> the existing protocols don't meet your requirements. If so, what are
>> your requirements?
>>
>> - om_p
>>
>> On Tue, Jul 24, 2012 at 1:42 AM, mamta_b <mamtabucha at indiatimes.com>
>> wrote:
>>>
>>> hi friends,
>>> i have studied and tested multihoposcilloscope and testnetwork
>>> applications.
>>> now i want to implement my own routing algorithm but i am confused that
>>> from
>>> where to start, how to create different layers of nodes, how to store
>>> routing information tables in each node and broadcasting them. i am not
>>> coming up to the start point of implementing a new routing algo. please
>>> help.
>>> --
>>> View this message in context:
>>> http://old.nabble.com/implementation-of-a-new-routing-algorithm-tp34203690p34203690.html
>>> Sent from the TinyOS - Help mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> Tinyos-help at millennium.berkeley.edu
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>> _______________________________________________
>> Tinyos-help mailing list
>> Tinyos-help at millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>>
>
> --
> View this message in context: http://old.nabble.com/implementation-of-a-new-routing-algorithm-tp34203690p34229884.html
> Sent from the TinyOS - Help mailing list archive at Nabble.com.
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


More information about the Tinyos-help mailing list