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.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help