Changed packet id to use 8 bit instead of 4 bit
This commit is contained in:
parent
302a07344c
commit
f05952c926
|
@ -47,7 +47,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: collect.h,v 1.17 2010/06/18 08:28:56 nifi Exp $
|
||||
* $Id: collect.h,v 1.18 2010/08/31 13:14:49 nifi Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -65,10 +65,10 @@
|
|||
#include "net/rime/neighbor-discovery.h"
|
||||
#include "sys/ctimer.h"
|
||||
|
||||
#define COLLECT_PACKET_ID_BITS 4
|
||||
#define COLLECT_PACKET_ID_BITS 8
|
||||
|
||||
#define COLLECT_ATTRIBUTES { PACKETBUF_ADDR_ESENDER, PACKETBUF_ADDRSIZE }, \
|
||||
{ PACKETBUF_ATTR_EPACKET_ID, PACKETBUF_ATTR_BIT * 4 }, \
|
||||
{ PACKETBUF_ATTR_EPACKET_ID, PACKETBUF_ATTR_BIT * COLLECT_PACKET_ID_BITS }, \
|
||||
{ PACKETBUF_ATTR_PACKET_ID, PACKETBUF_ATTR_BIT * COLLECT_PACKET_ID_BITS }, \
|
||||
{ PACKETBUF_ATTR_TTL, PACKETBUF_ATTR_BIT * 4 }, \
|
||||
{ PACKETBUF_ATTR_HOPS, PACKETBUF_ATTR_BIT * 4 }, \
|
||||
|
|
Loading…
Reference in a new issue