In general, to assign to a node the role of the PAN coordinator you
use the MLME_START interface (see Sect. "7.1.14.1 MLME-START.request"
in IEEE 802.15.4-2006).

> Then i say: the event MCPS_DATA.request is only for messages that are sent
> from an end-device to a Pancoordinator or not?Is it possible send a frame
> from a PanCoordinator to an end device???

MCPS_DATA.request exchanges frames between peer devices, independent
of their role (they can be device or (PAN) coordinator). E.g. with
MCPS_DATA.request you can send a frame from a PAN coordinator to an
end-device, if the end device is "directly" associated to it (it is in
its transmission range). If you have an intermediate node (router)
that should forward the packet, then the PAN coordinator will have to
use MCPS_DATA.request to send the packet to that intermediate node,
which will then use MCPS_DATA.request to send it to the end device -
the forwarding is not part of the link layer (MAC), it is left to the
next higher layer, which you would have to implement.

Jan

On Thu, Jul 29, 2010 at 9:51 AM, marco di sano <[email protected]> wrote:
> Hi,
> I'm a student of University of Catania.
> I'm working on modules telosb using TKN154 library. I use tree Routing
> Protocol to implement the communication between the motes, but i have some
> problem.
>
> First,I ask you if in this library is implemented the communication from a
> Pancoordinator to a child (for example a mote that is a routerCoordinator or
> a simple node-end device).
> In my example, the PanCoordinator wants to send a message(DATA FRAME) to an
> end-device, but this message is forwarded by the router that is in the
> middle of these two.
> Then i say: the event MCPS_DATA.request is only for messages that are sent
> from an end-device to a Pancoordinator or not?Is it possible send a frame
> from a PanCoordinator to an end device???
>
> Second, I wants to ask you what's mean
> ieee154_PANDescriptor_t.CoordPANId(this is invoked from the function
> SetAddressingFields)?Is it an id of the network?
>
> Please help me!
> Bye
>
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to