Re: [Tinyos-help] Problem with DEFAULT_LOCAL_GROUP on TinyOS 2.1.2

2013-01-04 Thread antonio rosa
Hi, about BaseStation, it uses Snoop Component and for that,  it snoop all
packets, about the node ids, it shouldn't do it.

2013/1/3 Kumar, Vimal (ST-Student) vk...@mail.mst.edu

 Hi,

 I was testing DEFAULT_LOCAL_GROUP on TinyOS 2.1.2 for which I wrote a
 simple application with two motes bouncing a message back and forth. The
 motes received each other's message when they had the same group ID but
 even when they had different group IDs. I set the group IDs in the make
 file using the DEFAULT_LOCAL_GROUP directive. I can see that the group IDs
 are set correctly in the transmitted packet but the receiving node does not
 discard messages with different group IDs. Same thing happens with the
 BaseStation, which also does not make any distinction between group IDs. Is
 this a known issue or am I doing something wrong here?

 Thanks
 -vimal

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

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

Re: [Tinyos-help] Problem with DEFAULT_LOCAL_GROUP on TinyOS 2.1.2

2013-01-04 Thread Eric Decker
On Fri, Jan 4, 2013 at 12:30 AM, antonio rosa 
antoniorosarodrig...@gmail.com wrote:

 Hi, about BaseStation, it uses Snoop Component and for that,  it snoop all
 packets, about the node ids, it shouldn't do it.


Snoop actually is intended to see all packets (its like a packet sniffer).


Are you saying that it shouldn't accept packets that don't match Group?



 2013/1/3 Kumar, Vimal (ST-Student) vk...@mail.mst.edu

 Hi,

 I was testing DEFAULT_LOCAL_GROUP on TinyOS 2.1.2 for which I wrote a
 simple application with two motes bouncing a message back and forth. The
 motes received each other's message when they had the same group ID but
 even when they had different group IDs. I set the group IDs in the make
 file using the DEFAULT_LOCAL_GROUP directive. I can see that the group IDs
 are set correctly in the transmitted packet but the receiving node does not
 discard messages with different group IDs. Same thing happens with the
 BaseStation, which also does not make any distinction between group IDs. Is
 this a known issue or am I doing something wrong here?

 Thanks
 -vimal

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



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




-- 
Eric B. Decker
Senior (over 50 :-) Researcher
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Problem with DEFAULT_LOCAL_GROUP on TinyOS 2.1.2

2013-01-04 Thread antonio rosa
Hi,
first sorry for this misunderstanding,
I wanted to say that this phenomenon in the BaseStation is due to the Snoop
Component, but if the applications nodes does not use the Snoop Component,
it must be a filter Group ID. Once years ago, we had the same conversation
with this topic:
http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg39173.html

Regards, Antonio Rosa.

2013/1/4 Eric Decker cire...@gmail.com



 On Fri, Jan 4, 2013 at 12:30 AM, antonio rosa 
 antoniorosarodrig...@gmail.com wrote:

 Hi, about BaseStation, it uses Snoop Component and for that,  it snoop
 all packets, about the node ids, it shouldn't do it.


 Snoop actually is intended to see all packets (its like a packet sniffer).


 Are you saying that it shouldn't accept packets that don't match Group?



 2013/1/3 Kumar, Vimal (ST-Student) vk...@mail.mst.edu

 Hi,

 I was testing DEFAULT_LOCAL_GROUP on TinyOS 2.1.2 for which I wrote a
 simple application with two motes bouncing a message back and forth. The
 motes received each other's message when they had the same group ID but
 even when they had different group IDs. I set the group IDs in the make
 file using the DEFAULT_LOCAL_GROUP directive. I can see that the group IDs
 are set correctly in the transmitted packet but the receiving node does not
 discard messages with different group IDs. Same thing happens with the
 BaseStation, which also does not make any distinction between group IDs. Is
 this a known issue or am I doing something wrong here?

 Thanks
 -vimal

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



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




 --
 Eric B. Decker
 Senior (over 50 :-) Researcher


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

Re: [Tinyos-help] Problem with DEFAULT_LOCAL_GROUP on TinyOS 2.1.2

2013-01-04 Thread Kumar, Vimal (ST-Student)
Hi Eric,
I have submitted the bug report. Using different channels is definitely a 
better way to isolate apps than group ids and I will be using that now. Thanks 
you very much.

Thanks Antonio, for pointing me towards that useful conversation.

From: antonio rosa [antoniorosarodrig...@gmail.com]
Sent: Friday, January 04, 2013 5:40 AM
To: Eric Decker
Cc: Kumar, Vimal (ST-Student); tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] Problem with DEFAULT_LOCAL_GROUP on TinyOS 2.1.2

Hi,
first sorry for this misunderstanding,
I wanted to say that this phenomenon in the BaseStation is due to the Snoop 
Component, but if the applications nodes does not use the Snoop Component, it 
must be a filter Group ID. Once years ago, we had the same conversation with 
this topic: 
http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg39173.html

Regards, Antonio Rosa.

2013/1/4 Eric Decker cire...@gmail.commailto:cire...@gmail.com


On Fri, Jan 4, 2013 at 12:30 AM, antonio rosa 
antoniorosarodrig...@gmail.commailto:antoniorosarodrig...@gmail.com wrote:
Hi, about BaseStation, it uses Snoop Component and for that,  it snoop all 
packets, about the node ids, it shouldn't do it.

Snoop actually is intended to see all packets (its like a packet sniffer).

Are you saying that it shouldn't accept packets that don't match Group?


2013/1/3 Kumar, Vimal (ST-Student) 
vk...@mail.mst.edumailto:vk...@mail.mst.edu
Hi,

I was testing DEFAULT_LOCAL_GROUP on TinyOS 2.1.2 for which I wrote a simple 
application with two motes bouncing a message back and forth. The motes 
received each other's message when they had the same group ID but even when 
they had different group IDs. I set the group IDs in the make file using the 
DEFAULT_LOCAL_GROUP directive. I can see that the group IDs are set correctly 
in the transmitted packet but the receiving node does not discard messages with 
different group IDs. Same thing happens with the BaseStation, which also does 
not make any distinction between group IDs. Is this a known issue or am I doing 
something wrong here?

Thanks
-vimal

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


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



--
Eric B. Decker
Senior (over 50 :-) Researcher



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


[Tinyos-help] Problem with DEFAULT_LOCAL_GROUP on TinyOS 2.1.2

2013-01-03 Thread Kumar, Vimal (ST-Student)
Hi, 

I was testing DEFAULT_LOCAL_GROUP on TinyOS 2.1.2 for which I wrote a simple 
application with two motes bouncing a message back and forth. The motes 
received each other's message when they had the same group ID but even when 
they had different group IDs. I set the group IDs in the make file using the 
DEFAULT_LOCAL_GROUP directive. I can see that the group IDs are set correctly 
in the transmitted packet but the receiving node does not discard messages with 
different group IDs. Same thing happens with the BaseStation, which also does 
not make any distinction between group IDs. Is this a known issue or am I doing 
something wrong here?

Thanks
-vimal

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


Re: [Tinyos-help] Problem with DEFAULT_LOCAL_GROUP on TinyOS 2.1.2

2013-01-03 Thread Eric Decker
Sounds like a bug.

can you submit a bug report at
https://github.com/tinyos/tinyos-release/issues.   You'll have to get a
github login if you don't already have one.

There is filtering code that is supposed to deal with that in the AM stack.
 So either there is a problem in the documentation about how to use GROUP
or the code has a bug.

GROUP hasn't really been used that much.   Not sure how useful it is.
Because power is very important so transmitting and receiving on the same
channel messages that you aren't interested in is pretty wasteful of the
receiver's energy budget.


On Thu, Jan 3, 2013 at 2:00 PM, Kumar, Vimal (ST-Student) 
vk...@mail.mst.edu wrote:

 Hi,

 I was testing DEFAULT_LOCAL_GROUP on TinyOS 2.1.2 for which I wrote a
 simple application with two motes bouncing a message back and forth. The
 motes received each other's message when they had the same group ID but
 even when they had different group IDs. I set the group IDs in the make
 file using the DEFAULT_LOCAL_GROUP directive. I can see that the group IDs
 are set correctly in the transmitted packet but the receiving node does not
 discard messages with different group IDs. Same thing happens with the
 BaseStation, which also does not make any distinction between group IDs. Is
 this a known issue or am I doing something wrong here?

 Thanks
 -vimal

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




-- 
Eric B. Decker
Senior (over 50 :-) Researcher
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help