Hi,

  I am ysing TinyOS-2.x and IRIS motes.

  I tried to set the mote's group ID using the "DEFAULT_LOCAL_GROUP=0x1E"
flag in the Makefile. The corresponding compiler flag "DEFINED_TOS_AM_GROUP"
gets set. But, when i use the serial forwarder to snoop the packets that i
am transmitting over the radio, the packets' group ID field is 0. It is not
getting set. So, I tried 2 things:

 1. So, I tried to debug this by including the printf library and printing
out the value of the TOS_AM_GROUP which equals the value 0x1E that i set in
the Makefile. Why then is the group ID field of the packets not getting set
?

  2. I also tried to set the group ID by wiring the AMPacket interface and
calling the setGroup command. When i print it out using the printf library,
the value seems to have been set to 0x1E. But the group ID field of the
packets transmitted over the radio is still 0. Why is the group ID field of
the packets not getting set ? Does it have something to do with the active
message handler ID ?

Thanks,

Ashish
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to