Added MAC-layer duplicate message suppression, which is very helpful when running with duty cycling turned off

This commit is contained in:
adamdunkels 2010-04-05 19:28:07 +00:00
parent f38a3ff06c
commit e06a30fdb0
2 changed files with 20 additions and 4 deletions

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: framer-802154.c,v 1.8 2010/04/03 13:28:30 adamdunkels Exp $
* $Id: framer-802154.c,v 1.9 2010/04/05 19:28:07 adamdunkels Exp $
*/
/**
@ -186,7 +186,7 @@ parse(void)
packetbuf_set_addr(PACKETBUF_ADDR_SENDER, (rimeaddr_t *)&frame.src_addr);
packetbuf_set_attr(PACKETBUF_ATTR_PENDING, frame.fcf.frame_pending);
/* packetbuf_set_attr(PACKETBUF_ATTR_RELIABLE, frame.fcf.ack_required);*/
/* packetbuf_set_attr(PACKETBUF_ATTR_PACKET_ID, frame.seq);*/
packetbuf_set_attr(PACKETBUF_ATTR_PACKET_ID, frame.seq);
PRINTF("15.4-IN: %2X", frame.fcf.frame_type);
PRINTADDR(packetbuf_addr(PACKETBUF_ADDR_SENDER));