[Tinyos-help] multihop problems
Aditya Bhave
adityay.bhave at gmail.com
Sun Jul 9 23:19:41 PDT 2006
A packet will multi-hop if node2 is not within radio range of base. Its
packet will reach node1 only who then has to send it to the base station.
Im not really able to understand your question. To find out neighbors, have
each mote broadcast a special packet
typedef struct Neighbor
{
int src; /* source mote ID */
int hopCount; /* initilaize to 0 */
}
If a mote A receives a packet of the above type from node B with hopCount
set to 0, it can conclude that B is its neighbor. Also by controlled
flooding, these packets need to be multihopped across the network with the
hopCount being incremeneted each time. In this way, motes can get an idea
about the topology of the network.
To start the nodes in sequence, let each node wait for a START message from
the base station i.e they are all in receive mode not doing anything till
the START message arrives. The base station will transmit the START message.
On 7/10/06, Tehn Yit Chin <tehn-yit.chin at greyinnovation.com> wrote:
>
> Hi,
>
> I have the following setup
>
> node2 <--> node1 --> base
> | ^
> +--------------------+
>
> node2 and node1 has the surge application installed.
> base has the TOSBase installed.
>
> No matter what I try, I can't seem to get a packet to multihop from
> node2 to node1 to base. All the packets appears to single hop to the base.
>
> A couple of questions.
>
> 1) Does the base node needs to transmit for node1 to work out one of its
> neighbours is node 0? One of things I tried is to install surge into
> base node but this does not appears to be cause the packet to multihop.
>
> 2) Will the packet multihop with only two nodes in the network?
>
> 3) Is there a power up sequence? ie base node first, and then node 1 and
> the node 2?
>
> 4) What are the conditions that will cause a packet to multihop?
>
> Any suggestion is appreciated.
>
> --
> Tehn Yit Chin
> Embedded System Engineer, Grey Innovation Pty. Ltd.
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
--
regards,
Aditya Bhave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060710/79d3ec41/attachment.html
More information about the Tinyos-help
mailing list