Minor changes to contiki-default-conf.h

This commit is contained in:
Simon Duquennoy 2017-10-11 17:22:13 +02:00
parent 91b8ee860e
commit c4f89ee44d
1 changed files with 7 additions and 5 deletions

View File

@ -33,12 +33,14 @@
#define CONTIKI_DEFAULT_CONF_H #define CONTIKI_DEFAULT_CONF_H
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/* Packet buffer size options. /* Link-layer options
*
* The packet buffer size options can be tweaked on a per-project
* basis to reduce memory consumption.
*/ */
/* IEEE802154_CONF_PANID defines the default PAN ID for IEEE 802.15.4 networks */
#ifndef IEEE802154_CONF_PANID
#define IEEE802154_CONF_PANID 0xabcd
#endif /* IEEE802154_CONF_PANID */
/* QUEUEBUF_CONF_NUM specifies the number of queue buffers. Queue /* QUEUEBUF_CONF_NUM specifies the number of queue buffers. Queue
buffers are used throughout the Contiki netstack but the buffers are used throughout the Contiki netstack but the
configuration option can be tweaked to save memory. Performance can configuration option can be tweaked to save memory. Performance can
@ -107,7 +109,7 @@
/* UIP_CONF_TCP_CONNS specifies the maximum number of /* UIP_CONF_TCP_CONNS specifies the maximum number of
simultaneous TCP connections. */ simultaneous TCP connections. */
#ifndef UIP_CONF_TCP_CONNS #ifndef UIP_CONF_TCP_CONNS
#define UIP_CONF_TCP_CONNS 8 #define UIP_CONF_TCP_CONNS ((UIP_CONF_TCP) ? 8 : 0)
#endif /* UIP_CONF_TCP_CONNS */ #endif /* UIP_CONF_TCP_CONNS */
/* UIP_CONF_ND6_SEND_RA enables standard IPv6 Router Advertisement. /* UIP_CONF_ND6_SEND_RA enables standard IPv6 Router Advertisement.