That makes sense. I didn't realise that mica2 didn't have the source in its message stack. But there is also a CC2420Packet interface very specific to the CC2420 radios, shouldn't that atleast provide this functionality ?

Thanks and regards,
Avinash

On 6/18/06, Philip Levis <[EMAIL PROTECTED]> wrote:
On Jun 15, 2006, at 11:22 AM, Avinash Sridharan wrote:

> Hi All,
>  I was going through the various interfaces provided in tinyos-2.x
> AMPacket,AMSend, Receive and in any of these interfaces I was not
> able to find a command that could return the source of a given
> message. In AMPacket we have the ability to get the destination but
> no the source.
>
> Is it that there is no way to retrieve the source of a message from
> the packet ? Currently I have to send the source as part of the
> payload. If I could retrieve it directly from the message I could
> save valuable bytes in the payload.

Except that in the mica2 stack, there is no source address.

Phil



--
Phd Dept. of Electrical Engineering
University of Southern California
http://www-scf.usc.edu/~asridhar
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to