So if I want to filter some message depending on a feature of the node(for
example if the node ID is greater than 8,or depending on a variable stored
in the node),what should I do ? a way to avoid trigger "Receive.receive"
event.
And how is about the energy consumption? If a node filter a message ,how
much energy will save ?

Thanks.

On Fri, Sep 10, 2010 at 1:51 PM, Obaid Salikeen <[email protected]>wrote:

> Hi,
> Actually in reality node will receive packets if the radio is turned onn,
> however if packet is not INTENDED for this node, the message will be
> filtered and your receive event will not be signaled. Broadcast message is
> intended for all the neighboring nodes so receive event is signaled.
>
>
> On Fri, Sep 10, 2010 at 10:09 AM, mojtaba raznahan <
> [email protected]> wrote:
>
>> Hi dear Harald,
>> thanks for your answer.
>>
>> you mean with using AMControl.Stop() ?, in this case how is the energy
>> consumption in comparison to when AMControl is started ?
>>
>> You know,actually i want to know the difference from point to point
>> sending and broadcast sending in sensors.
>> When we use AMSend.send(node address,...).Only The mentioned node will
>> receive the message, not any other node(even if we turned on the AMControl
>> for every node in the network in advance),but when we use the
>> AMSend.(broadcast addr,...) every neighboring node in the network that
>> turned the AMControl on, will receive the message.
>> So in the case AMSend.send(node address), how the Radio send the message
>> to this specific node ?
>>
>> Any help would highly appreciated.
>>
>>
>> On Fri, Sep 10, 2010 at 12:11 PM, Harald Sauff <
>> [email protected]> wrote:
>>
>>> > How can we neglect a message from being received(for energy efficiency)
>>> ?
>>>
>>> Switch off the radio.
>>> Problem: If there is a message that you want to receive, you have to
>>> know in advance and switch the radio on before the message arrives.
>>>
>>>
>>> greetings,
>>>  Harry
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> [email protected]
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>
>>
>>
>>
>> --
>> Mojtaba Raznahan
>> BS of Computer engineering
>> TMU university
>> www.raznahan.com
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>


-- 
Mojtaba Raznahan
BS of Computer engineering
TMU university
www.raznahan.com
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to