On Fri, Feb 4, 2011 at 1:42 PM, Xiaohui Liu <whu...@gmail.com> wrote:
>
> Hi everyone,
> I upgrade my TinyOS distribution to the lastest version from google code 
> yesterday. Previously I was using TinyOS 2.1 with release-dates.txt saying 
> "These release notes are as of: $Date: 2008/06/18 23:07:04 $". Now I find the 
> following
> TOS_NODE_ID TOS_AM_ADDRESS ActiveMessageC$AMPacket$address()
> TinyOS 2.1 30 1 30
> Latest 30 1 1
>
> Since many places of my code use link addresses, my protocol now does not 
> work anymore under the latest version. For 
> example, ActiveMessageC$AMPacket$source() always return 1 for all packets 
> received, even though they are from many different nodes with various 
> TOS_NODE_IDs. Has anyone encountered this problem with the latest version and 
> how should I resolve this? I find it appeared before in this thread.
> Also, can somebody please tell me where TOS_AM_ADDRESS is set from initial 
> value 1 to TOS_NODE_ID as in TinyOS 2.1. Thanks very much.

How do you compile/program the nodes? It is likely you are not setting
proper ActiveMessageAddressC.addr.

- om_p

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to