If a node receives a message it is, more or less by definition,
in transmission range. You can move them further apart or lower
the radio transmit power (search this list and doc for radio power).

MS

moadsofiane wrote:
> Hi,
> 
> I am trying to test an application where one node send message and nodes 
> which are within it's transmission range will receive this message(but 
> not all nodes in the network).
> At the moment, I am  using send message like call 
> SndSimpleMsg.send(TOS_BCAST_ADDR,sizeof(struct SimpleMsg),&out);
> but all the node in the network receive the message when I run this 
> event : event TOS_MsgPtr RcvSimpleMsg.receive(TOS_MsgPtr pmsg).
> How can I do to send a message only to the nodes which are  within their 
> transmission range.
> Best regards,
> Sofiane
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to