[Tinyos-help] AM source destination stuff
Michael von Hauff
michael.vonhauff at gmail.com
Thu Sep 18 17:33:23 PDT 2008
I am a bit confused about using the AM addressing
in my App file I declare a AMSender and Receiver
components new AMSenderC(AM_TYPE6);
components new AMReceiverC(AM_TYPE6);
then later in my send command I have this
if (call AMSend.send(AM_TYPE6,
&pkt, sizeof(PacketRecombineMsg)) == SUCCESS) {
busy = TRUE;
call Leds.led0Toggle();
}
but an identical node does not receive the packet.
It will only receive broadcast packets (i just change the send function to
send AM_BROADCAST_ADDRESS)
So i think I misunderstanding something about the AM stuff.
any help would be much appreciated!
Mike.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080918/91a0ed01/attachment.htm
More information about the Tinyos-help
mailing list