Re: [Tinyos-help] AMSend malfunction

2009-12-14 Thread Ricardo .
. *Sent:* zaterdag 12 december 2009 17:08 *To:* tinyos-help *Subject:* Re: [Tinyos-help] AMSend malfunction I checked, and do not return the same value. The method AMPacket.address() always returns the value 1, even when the TOS_NODE_ID is not 1. On Fri, Dec 11, 2009 at 5:20 PM, Miklos

Re: [Tinyos-help] AMSend malfunction

2009-12-14 Thread Ricardo .
this: AMADDR = ActiveMessageAddressC__addr Hope this helps, Michiel *From:* tinyos-help-boun...@millennium.berkeley.edu [mailto: tinyos-help-boun...@millennium.berkeley.edu] *On Behalf Of *Ricardo . *Sent:* zaterdag 12 december 2009 17:08 *To:* tinyos-help *Subject:* Re: [Tinyos-help] AMSend

Re: [Tinyos-help] AMSend malfunction

2009-12-12 Thread Ricardo .
I checked, and do not return the same value. The method AMPacket.address() always returns the value 1, even when the TOS_NODE_ID is not 1. On Fri, Dec 11, 2009 at 5:20 PM, Miklos Maroti mmar...@math.u-szeged.huwrote: Hi Ricardo, Then can you verify that AMPacket.address() also returns the

[Tinyos-help] AMSend malfunction

2009-12-11 Thread Ricardo .
Hello everyone, When sending a message, I want to know who sent it. I know that for this I have to use the interface AMPacket.source (packet). The problem is that I get always the same value as if it received all messages from the same node, which is not true. So I see how this field is set, and

Re: [Tinyos-help] AMSend malfunction

2009-12-11 Thread Miklos Maroti
Hi Ricardo, How did you install your program on the mote? You should make iris install.1234 Where 1234 is the desired node id for the mote that is installed. Miklos On Fri, Dec 11, 2009 at 3:35 PM, Ricardo . ricardo.mas...@gmail.com wrote: Hello everyone, When sending a message, I want to

Re: [Tinyos-help] AMSend malfunction

2009-12-11 Thread Ricardo .
Yes I did. I print the TOS_NODE_ID and the value is correct... :S On Fri, Dec 11, 2009 at 4:30 PM, Miklos Maroti mmar...@math.u-szeged.huwrote: Hi Ricardo, How did you install your program on the mote? You should make iris install.1234 Where 1234 is the desired node id for the mote that

Re: [Tinyos-help] AMSend malfunction

2009-12-11 Thread Miklos Maroti
Hi Ricardo, Then can you verify that AMPacket.address() also returns the same value as TOS_NODE_ID with the same method? Miklos On Fri, Dec 11, 2009 at 6:11 PM, Ricardo . ricardo.mas...@gmail.com wrote: Yes I did. I print the TOS_NODE_ID and the value is correct... :S On Fri, Dec 11, 2009 at