Added rimebuf attributes for RSSI, timestamp, and network ID (used for e.g. 802.15.4 PAN ID)

This commit is contained in:
adamdunkels 2008-06-30 19:57:10 +00:00
parent 651a374eca
commit 1d1ab90642
2 changed files with 9 additions and 2 deletions

View file

@ -33,7 +33,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* $Id: rimebuf.c,v 1.15 2008/04/03 09:07:28 nifi Exp $ * $Id: rimebuf.c,v 1.16 2008/06/30 19:57:10 adamdunkels Exp $
*/ */
/** /**
@ -66,6 +66,9 @@ const char *rimebuf_attr_strings[] =
"RIMEBUF_ATTR_MAX_REXMIT", "RIMEBUF_ATTR_MAX_REXMIT",
"RIMEBUF_ATTR_NUM_REXMIT", "RIMEBUF_ATTR_NUM_REXMIT",
"RIMEBUF_ATTR_LINK_QUALITY", "RIMEBUF_ATTR_LINK_QUALITY",
"RIMEBUF_ATTR_RSSI",
"RIMEBUF_ATTR_TIMESTAMP",
"RIMEBUF_ATTR_NETWORK_ID",
"RIMEBUF_ATTR_RELIABLE", "RIMEBUF_ATTR_RELIABLE",
"RIMEBUF_ATTR_ERELIABLE", "RIMEBUF_ATTR_ERELIABLE",

View file

@ -40,7 +40,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* $Id: rimebuf.h,v 1.14 2008/04/02 14:49:21 nifi Exp $ * $Id: rimebuf.h,v 1.15 2008/06/30 19:57:10 adamdunkels Exp $
*/ */
/** /**
@ -329,6 +329,10 @@ enum {
RIMEBUF_ATTR_MAX_REXMIT, RIMEBUF_ATTR_MAX_REXMIT,
RIMEBUF_ATTR_NUM_REXMIT, RIMEBUF_ATTR_NUM_REXMIT,
RIMEBUF_ATTR_LINK_QUALITY, RIMEBUF_ATTR_LINK_QUALITY,
RIMEBUF_ATTR_RSSI,
RIMEBUF_ATTR_TIMESTAMP,
RIMEBUF_ATTR_NETWORK_ID,
RIMEBUF_ATTR_RELIABLE, RIMEBUF_ATTR_RELIABLE,
RIMEBUF_ATTR_ERELIABLE, RIMEBUF_ATTR_ERELIABLE,