Hello,

        I am just starting the first experiences with Bommerang and
Tmote-sky.
I tried to use the SendMsg of GenericComm putting as first parameter the
destination address as following:

                call SendMsg.send( 4,sizeof(CountMsg_t),&m_msg)

On the receiving Tmote-sky (TOS_LOCAL_ADDRESS = 4) I used the ReciveMsg of
GenericComm as following:

                ReceiveMsg.receive( TOS_MsgPtr msg )

What happens is that the message is received whatever is the
TOS_LOCAL_ADDRESS of the receiving tmote-sky. If I have more receiving
tmote-sky in the network, everyone will receive the message.

How can I send a message to a specific tmote-sky?

Thank you for your help

Errico Stigliano





_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to