[Tinyos-devel] Re: CC2420ActiveMessageP does not set group id

Omprakash Gnawali gnawali at usc.edu
Fri Feb 1 04:06:05 PST 2008


I think I found at least one group-id-related problem, not necessarily
related to CC2420ActiveMessageP.

Here is an excerpt from AM.h:

#ifndef DEFINED_TOS_AM_GROUP
#define DEFINED_TOS_AM_GROUP 0x22
#endif
...
  TOS_AM_GROUP = DEFINED_TOS_AM_GROUP,

I think DEFINED_TOS_AM_GROUP is a typo. Should it be DEF_TOS_AM_GROUP?
There is a similar issue about DEFINED_TOS_AM_ADDRESS but it sort of
works because no other script is probably trying to use this name.

I also saw a reference to DEFINED_TOS_AM_ADDRESS in lesson 13 of the
tutorial. I think this is a double typo - group id vs am address and
probably want to call DEF_TOS_AM_ADDRESS to make it consistent with
the group id.

- om_p

On Feb 1, 2008 3:17 AM, Omprakash Gnawali <gnawali at usc.edu> wrote:
> CC2420ActiveMessageP does not seem to be setting group id when sending
> packets out. Should it set it when it receives a send call?
>
> - om_p
>


More information about the Tinyos-devel mailing list