[Tinyos-help] about send interface and address in cc2420
Philip Levis
pal at cs.stanford.edu
Mon May 12 09:18:44 PDT 2008
On May 12, 2008, at 12:24 AM, Paolo wrote:
> Hello,
> Tinyos 2.0 and telosb platfrom.
>
> When i send a packet by Send interface (not AMSend), the dest field
> of the cc2420_header_t is FF, while the src is node's id (both in
> the payload): its rigth ?
>
> Now, what address informations will append the chip cc24240 (via
> HW) ?
No. Send is usually a network-layer API. The link-layer destination
address of the packet will depend on what protocol you're using that
provides the Send interface. For example, in MultihopLqi and CTP, the
destination will likely be the next hop in a route to a tree root.
Unless you're poking inside the CC2420 stack itself. It's important to
note that you should not be directly wiring to components ending with
P; they're intended to be "private" and not necessarily functional by
themselves.
Phil
More information about the Tinyos-help
mailing list