Hi all,
I have enabled ACK packet by calling the following command before data
transmission in a broadcast mode:
* call PacketAcknowledgements.requestAck(&msg); *
* call RssiMsgSend.send(AM_BROADCAST_ADDR, &msg, sizeof(RssiMsg)); *
I was expecting to receive no ACK packet as the destination address is not
defined. By each broadcast the led blinks and the sequence number increments
by one even if there are many nodes getting the data.
* event void RssiMsgSend.sendDone(message_t *m, error_t error){ *
* cc2420_header_t* header;*
* if(call PacketAcknowledgements.wasAcked(m)) {*
* call Leds.led2Toggle();*
* header=call CC2420PacketBody.getHeader(m);*
* } }*
the sniffer also shows one ACK packet immediately after packet
transmission.
This is still confusing for me that:
- Why I get ACK packet when broadcasting data?
- If It is correct to receive ACK, why only one packet?
Is there any way to observe the source address of ACK in broadcast mode?
Thanks,
Hossein
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help