2006-08-02 14:44:46 +00:00
|
|
|
/* -*- C -*- */
|
|
|
|
|
|
|
|
#ifndef CONTIKI_CONF_H
|
|
|
|
#define CONTIKI_CONF_H
|
|
|
|
|
2011-07-01 15:16:12 +00:00
|
|
|
#ifdef PLATFORM_CONF_H
|
|
|
|
#include PLATFORM_CONF_H
|
|
|
|
#else
|
2010-12-16 22:51:22 +00:00
|
|
|
#include "platform-conf.h"
|
2011-07-01 15:16:12 +00:00
|
|
|
#endif /* PLATFORM_CONF_H */
|
2010-12-16 22:51:22 +00:00
|
|
|
|
2010-10-20 22:21:16 +00:00
|
|
|
#ifndef NETSTACK_CONF_MAC
|
A work-in-progress rework of the Contiki MAC and radio layers. The
main ideas are:
* Separates the Contiki low-layer network stack into four layers:
network (e.g. sicslowpan / rime), Medium Access Control MAC
(e.g. CSMA), Radio Duty Cycling RDC (e.g. ContikiMAC, X-MAC), and
radio (e.g. cc2420).
* Introduces a new way to configure the network stack. Four #defines
that specify what mechanism/protocol/driver to use at the four
layers: NETSTACK_CONF_NETWORK, NETSTACK_CONF_MAC, NETSTACK_CONF_RDC,
NETSTACK_CONF_RADIO.
* Adds a callback mechanism to inform the MAC and network layers about
the fate of a transmitted packet: if the packet was not possible to
transmit, the cause of the failure is reported, and if the packets
was successfully transmitted, the number of tries before it was
finally transmitted is reported.
* NULL-protocols at both the MAC and RDC layers: nullmac and nullrdc,
which can be used when MAC and RDC functionality is not needed.
* Extends the radio API with three new functions that enable more
efficient radio duty cycling protocols: channel check, pending
packet, and receiving packet.
* New initialization mechanism, which takes advantage of the NETSTACK
#defines.
2010-02-18 21:48:39 +00:00
|
|
|
#define NETSTACK_CONF_MAC csma_driver
|
2010-10-20 22:21:16 +00:00
|
|
|
#endif /* NETSTACK_CONF_MAC */
|
|
|
|
|
|
|
|
#ifndef NETSTACK_CONF_RDC
|
2011-03-25 16:57:17 +00:00
|
|
|
#define NETSTACK_CONF_RDC contikimac_driver
|
2010-10-20 22:21:16 +00:00
|
|
|
#endif /* NETSTACK_CONF_RDC */
|
|
|
|
|
|
|
|
#ifndef NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE
|
|
|
|
#define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 8
|
|
|
|
#endif /* NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE */
|
2010-10-03 20:40:42 +00:00
|
|
|
|
2010-10-20 22:21:16 +00:00
|
|
|
#ifndef NETSTACK_CONF_RADIO
|
|
|
|
#define NETSTACK_CONF_RADIO cc2420_driver
|
|
|
|
#endif /* NETSTACK_CONF_RADIO */
|
|
|
|
|
|
|
|
#ifndef NETSTACK_CONF_FRAMER
|
2010-03-01 13:30:21 +00:00
|
|
|
#define NETSTACK_CONF_FRAMER framer_802154
|
2010-10-20 22:21:16 +00:00
|
|
|
#endif /* NETSTACK_CONF_FRAMER */
|
2010-02-03 16:48:04 +00:00
|
|
|
|
2010-10-20 22:21:16 +00:00
|
|
|
#ifndef CC2420_CONF_AUTOACK
|
A work-in-progress rework of the Contiki MAC and radio layers. The
main ideas are:
* Separates the Contiki low-layer network stack into four layers:
network (e.g. sicslowpan / rime), Medium Access Control MAC
(e.g. CSMA), Radio Duty Cycling RDC (e.g. ContikiMAC, X-MAC), and
radio (e.g. cc2420).
* Introduces a new way to configure the network stack. Four #defines
that specify what mechanism/protocol/driver to use at the four
layers: NETSTACK_CONF_NETWORK, NETSTACK_CONF_MAC, NETSTACK_CONF_RDC,
NETSTACK_CONF_RADIO.
* Adds a callback mechanism to inform the MAC and network layers about
the fate of a transmitted packet: if the packet was not possible to
transmit, the cause of the failure is reported, and if the packets
was successfully transmitted, the number of tries before it was
finally transmitted is reported.
* NULL-protocols at both the MAC and RDC layers: nullmac and nullrdc,
which can be used when MAC and RDC functionality is not needed.
* Extends the radio API with three new functions that enable more
efficient radio duty cycling protocols: channel check, pending
packet, and receiving packet.
* New initialization mechanism, which takes advantage of the NETSTACK
#defines.
2010-02-18 21:48:39 +00:00
|
|
|
#define CC2420_CONF_AUTOACK 1
|
2010-10-20 22:21:16 +00:00
|
|
|
#endif /* CC2420_CONF_AUTOACK */
|
|
|
|
|
2011-10-10 20:11:29 +00:00
|
|
|
/* Specify whether the RDC layer should enable
|
|
|
|
per-packet power profiling. */
|
|
|
|
#define CONTIKIMAC_CONF_COMPOWER 1
|
|
|
|
#define XMAC_CONF_COMPOWER 1
|
|
|
|
#define CXMAC_CONF_COMPOWER 1
|
2010-10-21 18:25:39 +00:00
|
|
|
|
2010-10-20 22:21:16 +00:00
|
|
|
#if WITH_UIP6
|
|
|
|
/* Network setup for IPv6 */
|
|
|
|
#define NETSTACK_CONF_NETWORK sicslowpan_driver
|
2011-09-02 11:52:19 +00:00
|
|
|
|
|
|
|
/* Specify a minimum packet size for 6lowpan compression to be
|
|
|
|
enabled. This is needed for ContikiMAC, which needs packets to be
|
|
|
|
larger than a specified size, if no ContikiMAC header should be
|
|
|
|
used. */
|
2011-09-05 09:41:41 +00:00
|
|
|
#define SICSLOWPAN_CONF_COMPRESSION_THRESHOLD 63
|
2011-09-02 11:52:19 +00:00
|
|
|
#define CONTIKIMAC_CONF_WITH_CONTIKIMAC_HEADER 0
|
|
|
|
|
A work-in-progress rework of the Contiki MAC and radio layers. The
main ideas are:
* Separates the Contiki low-layer network stack into four layers:
network (e.g. sicslowpan / rime), Medium Access Control MAC
(e.g. CSMA), Radio Duty Cycling RDC (e.g. ContikiMAC, X-MAC), and
radio (e.g. cc2420).
* Introduces a new way to configure the network stack. Four #defines
that specify what mechanism/protocol/driver to use at the four
layers: NETSTACK_CONF_NETWORK, NETSTACK_CONF_MAC, NETSTACK_CONF_RDC,
NETSTACK_CONF_RADIO.
* Adds a callback mechanism to inform the MAC and network layers about
the fate of a transmitted packet: if the packet was not possible to
transmit, the cause of the failure is reported, and if the packets
was successfully transmitted, the number of tries before it was
finally transmitted is reported.
* NULL-protocols at both the MAC and RDC layers: nullmac and nullrdc,
which can be used when MAC and RDC functionality is not needed.
* Extends the radio API with three new functions that enable more
efficient radio duty cycling protocols: channel check, pending
packet, and receiving packet.
* New initialization mechanism, which takes advantage of the NETSTACK
#defines.
2010-02-18 21:48:39 +00:00
|
|
|
#define CXMAC_CONF_ANNOUNCEMENTS 0
|
|
|
|
#define XMAC_CONF_ANNOUNCEMENTS 0
|
|
|
|
|
2010-10-21 18:25:39 +00:00
|
|
|
#ifndef QUEUEBUF_CONF_NUM
|
2010-04-30 15:06:00 +00:00
|
|
|
#define QUEUEBUF_CONF_NUM 8
|
2010-10-21 18:25:39 +00:00
|
|
|
#endif
|
2010-04-30 15:06:00 +00:00
|
|
|
|
2010-02-03 16:48:04 +00:00
|
|
|
#else /* WITH_UIP6 */
|
A work-in-progress rework of the Contiki MAC and radio layers. The
main ideas are:
* Separates the Contiki low-layer network stack into four layers:
network (e.g. sicslowpan / rime), Medium Access Control MAC
(e.g. CSMA), Radio Duty Cycling RDC (e.g. ContikiMAC, X-MAC), and
radio (e.g. cc2420).
* Introduces a new way to configure the network stack. Four #defines
that specify what mechanism/protocol/driver to use at the four
layers: NETSTACK_CONF_NETWORK, NETSTACK_CONF_MAC, NETSTACK_CONF_RDC,
NETSTACK_CONF_RADIO.
* Adds a callback mechanism to inform the MAC and network layers about
the fate of a transmitted packet: if the packet was not possible to
transmit, the cause of the failure is reported, and if the packets
was successfully transmitted, the number of tries before it was
finally transmitted is reported.
* NULL-protocols at both the MAC and RDC layers: nullmac and nullrdc,
which can be used when MAC and RDC functionality is not needed.
* Extends the radio API with three new functions that enable more
efficient radio duty cycling protocols: channel check, pending
packet, and receiving packet.
* New initialization mechanism, which takes advantage of the NETSTACK
#defines.
2010-02-18 21:48:39 +00:00
|
|
|
|
|
|
|
/* Network setup for non-IPv6 (rime). */
|
|
|
|
|
|
|
|
#define NETSTACK_CONF_NETWORK rime_driver
|
2010-10-03 20:40:42 +00:00
|
|
|
|
2010-03-19 13:27:46 +00:00
|
|
|
#define COLLECT_CONF_ANNOUNCEMENTS 1
|
A work-in-progress rework of the Contiki MAC and radio layers. The
main ideas are:
* Separates the Contiki low-layer network stack into four layers:
network (e.g. sicslowpan / rime), Medium Access Control MAC
(e.g. CSMA), Radio Duty Cycling RDC (e.g. ContikiMAC, X-MAC), and
radio (e.g. cc2420).
* Introduces a new way to configure the network stack. Four #defines
that specify what mechanism/protocol/driver to use at the four
layers: NETSTACK_CONF_NETWORK, NETSTACK_CONF_MAC, NETSTACK_CONF_RDC,
NETSTACK_CONF_RADIO.
* Adds a callback mechanism to inform the MAC and network layers about
the fate of a transmitted packet: if the packet was not possible to
transmit, the cause of the failure is reported, and if the packets
was successfully transmitted, the number of tries before it was
finally transmitted is reported.
* NULL-protocols at both the MAC and RDC layers: nullmac and nullrdc,
which can be used when MAC and RDC functionality is not needed.
* Extends the radio API with three new functions that enable more
efficient radio duty cycling protocols: channel check, pending
packet, and receiving packet.
* New initialization mechanism, which takes advantage of the NETSTACK
#defines.
2010-02-18 21:48:39 +00:00
|
|
|
#define CXMAC_CONF_ANNOUNCEMENTS 0
|
|
|
|
#define XMAC_CONF_ANNOUNCEMENTS 0
|
2010-03-19 13:27:46 +00:00
|
|
|
#define CONTIKIMAC_CONF_ANNOUNCEMENTS 0
|
A work-in-progress rework of the Contiki MAC and radio layers. The
main ideas are:
* Separates the Contiki low-layer network stack into four layers:
network (e.g. sicslowpan / rime), Medium Access Control MAC
(e.g. CSMA), Radio Duty Cycling RDC (e.g. ContikiMAC, X-MAC), and
radio (e.g. cc2420).
* Introduces a new way to configure the network stack. Four #defines
that specify what mechanism/protocol/driver to use at the four
layers: NETSTACK_CONF_NETWORK, NETSTACK_CONF_MAC, NETSTACK_CONF_RDC,
NETSTACK_CONF_RADIO.
* Adds a callback mechanism to inform the MAC and network layers about
the fate of a transmitted packet: if the packet was not possible to
transmit, the cause of the failure is reported, and if the packets
was successfully transmitted, the number of tries before it was
finally transmitted is reported.
* NULL-protocols at both the MAC and RDC layers: nullmac and nullrdc,
which can be used when MAC and RDC functionality is not needed.
* Extends the radio API with three new functions that enable more
efficient radio duty cycling protocols: channel check, pending
packet, and receiving packet.
* New initialization mechanism, which takes advantage of the NETSTACK
#defines.
2010-02-18 21:48:39 +00:00
|
|
|
|
2010-10-24 21:12:31 +00:00
|
|
|
#ifndef COLLECT_NEIGHBOR_CONF_MAX_COLLECT_NEIGHBORS
|
2010-10-03 20:40:42 +00:00
|
|
|
#define COLLECT_NEIGHBOR_CONF_MAX_COLLECT_NEIGHBORS 32
|
2010-10-24 21:12:31 +00:00
|
|
|
#endif /* COLLECT_NEIGHBOR_CONF_MAX_COLLECT_NEIGHBORS */
|
2010-02-23 18:44:52 +00:00
|
|
|
|
2010-10-24 21:12:31 +00:00
|
|
|
#ifndef QUEUEBUF_CONF_NUM
|
2010-10-20 22:21:16 +00:00
|
|
|
#define QUEUEBUF_CONF_NUM 16
|
2010-10-24 21:12:31 +00:00
|
|
|
#endif /* QUEUEBUF_CONF_NUM */
|
2009-02-14 22:52:24 +00:00
|
|
|
|
2011-01-09 21:04:14 +00:00
|
|
|
#ifndef TIMESYNCH_CONF_ENABLED
|
|
|
|
#define TIMESYNCH_CONF_ENABLED 0
|
|
|
|
#endif /* TIMESYNCH_CONF_ENABLED */
|
|
|
|
|
|
|
|
#if TIMESYNCH_CONF_ENABLED
|
|
|
|
/* CC2420 SDF timestamps must be on if timesynch is enabled. */
|
|
|
|
#undef CC2420_CONF_SFD_TIMESTAMPS
|
|
|
|
#define CC2420_CONF_SFD_TIMESTAMPS 1
|
|
|
|
#endif /* TIMESYNCH_CONF_ENABLED */
|
|
|
|
|
2010-04-30 15:06:00 +00:00
|
|
|
#endif /* WITH_UIP6 */
|
|
|
|
|
2009-03-12 21:58:20 +00:00
|
|
|
#define PACKETBUF_CONF_ATTRS_INLINE 1
|
2008-02-25 02:14:34 +00:00
|
|
|
|
2013-11-07 14:17:38 +00:00
|
|
|
#ifdef RF_CHANNEL
|
|
|
|
#define CC2420_CONF_CHANNEL RF_CHANNEL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CC2420_CONF_CHANNEL
|
|
|
|
#define CC2420_CONF_CHANNEL 26
|
|
|
|
#endif /* CC2420_CONF_CHANNEL */
|
|
|
|
|
|
|
|
#ifndef CC2420_CONF_CCA_THRESH
|
|
|
|
#define CC2420_CONF_CCA_THRESH -45
|
|
|
|
#endif /* CC2420_CONF_CCA_THRESH */
|
2009-05-10 21:15:16 +00:00
|
|
|
|
2010-06-14 07:04:20 +00:00
|
|
|
#define CONTIKIMAC_CONF_BROADCAST_RATE_LIMIT 0
|
|
|
|
|
2009-04-06 13:31:00 +00:00
|
|
|
#define IEEE802154_CONF_PANID 0xABCD
|
|
|
|
|
2008-01-08 08:19:56 +00:00
|
|
|
#define SHELL_VARS_CONF_RAM_BEGIN 0x1100
|
|
|
|
#define SHELL_VARS_CONF_RAM_END 0x2000
|
|
|
|
|
2008-02-03 21:01:36 +00:00
|
|
|
#define PROFILE_CONF_ON 0
|
2011-03-21 20:28:43 +00:00
|
|
|
#ifndef ENERGEST_CONF_ON
|
2007-11-13 21:10:50 +00:00
|
|
|
#define ENERGEST_CONF_ON 1
|
2011-03-21 20:28:43 +00:00
|
|
|
#endif /* ENERGEST_CONF_ON */
|
2007-11-13 21:10:50 +00:00
|
|
|
|
2009-01-15 09:04:04 +00:00
|
|
|
#define ELFLOADER_CONF_TEXT_IN_ROM 0
|
2010-11-11 13:56:02 +00:00
|
|
|
#ifndef ELFLOADER_CONF_DATAMEMORY_SIZE
|
2009-05-18 10:32:56 +00:00
|
|
|
#define ELFLOADER_CONF_DATAMEMORY_SIZE 0x400
|
2010-11-11 13:56:02 +00:00
|
|
|
#endif /* ELFLOADER_CONF_DATAMEMORY_SIZE */
|
|
|
|
#ifndef ELFLOADER_CONF_TEXTMEMORY_SIZE
|
2009-05-18 10:32:56 +00:00
|
|
|
#define ELFLOADER_CONF_TEXTMEMORY_SIZE 0x800
|
2010-11-11 13:56:02 +00:00
|
|
|
#endif /* ELFLOADER_CONF_TEXTMEMORY_SIZE */
|
|
|
|
|
2007-03-23 00:00:15 +00:00
|
|
|
|
2007-08-16 13:10:53 +00:00
|
|
|
#define AODV_COMPLIANCE
|
2007-04-04 11:39:49 +00:00
|
|
|
#define AODV_NUM_RT_ENTRIES 32
|
2006-08-02 14:44:46 +00:00
|
|
|
|
|
|
|
#define WITH_ASCII 1
|
|
|
|
|
2008-02-03 21:01:36 +00:00
|
|
|
#define PROCESS_CONF_NUMEVENTS 8
|
|
|
|
#define PROCESS_CONF_STATS 1
|
2008-01-08 08:19:56 +00:00
|
|
|
/*#define PROCESS_CONF_FASTPOLL 4*/
|
2006-08-02 14:44:46 +00:00
|
|
|
|
2008-11-05 14:31:06 +00:00
|
|
|
#ifdef WITH_UIP6
|
2008-11-06 15:14:24 +00:00
|
|
|
|
2013-12-12 22:58:52 +00:00
|
|
|
#define LINKADDR_CONF_SIZE 8
|
2008-11-06 15:14:24 +00:00
|
|
|
|
2008-11-05 14:31:06 +00:00
|
|
|
#define UIP_CONF_LL_802154 1
|
|
|
|
#define UIP_CONF_LLH_LEN 0
|
|
|
|
|
2010-04-30 13:52:14 +00:00
|
|
|
#define UIP_CONF_ROUTER 1
|
2010-10-20 22:21:16 +00:00
|
|
|
#ifndef UIP_CONF_IPV6_RPL
|
2010-04-30 13:52:14 +00:00
|
|
|
#define UIP_CONF_IPV6_RPL 1
|
2010-10-20 22:21:16 +00:00
|
|
|
#endif /* UIP_CONF_IPV6_RPL */
|
2010-04-30 13:52:14 +00:00
|
|
|
|
2010-06-21 19:57:18 +00:00
|
|
|
/* configure number of neighbors and routes */
|
2013-07-29 16:49:21 +00:00
|
|
|
#ifndef NBR_TABLE_CONF_MAX_NEIGHBORS
|
|
|
|
#define NBR_TABLE_CONF_MAX_NEIGHBORS 20
|
|
|
|
#endif /* NBR_TABLE_CONF_MAX_NEIGHBORS */
|
2013-03-17 23:00:15 +00:00
|
|
|
#ifndef UIP_CONF_MAX_ROUTES
|
|
|
|
#define UIP_CONF_MAX_ROUTES 20
|
|
|
|
#endif /* UIP_CONF_MAX_ROUTES */
|
2010-04-30 15:06:00 +00:00
|
|
|
|
|
|
|
#define UIP_CONF_ND6_SEND_RA 0
|
2014-05-14 15:29:18 +00:00
|
|
|
#define UIP_CONF_ND6_SEND_NA 0
|
2010-04-30 15:06:00 +00:00
|
|
|
#define UIP_CONF_ND6_REACHABLE_TIME 600000
|
|
|
|
#define UIP_CONF_ND6_RETRANS_TIMER 10000
|
2009-04-06 13:23:14 +00:00
|
|
|
|
2008-11-05 14:31:06 +00:00
|
|
|
#define UIP_CONF_IPV6 1
|
2010-11-02 11:06:01 +00:00
|
|
|
#ifndef UIP_CONF_IPV6_QUEUE_PKT
|
2010-06-14 07:04:20 +00:00
|
|
|
#define UIP_CONF_IPV6_QUEUE_PKT 0
|
2010-11-02 11:06:01 +00:00
|
|
|
#endif /* UIP_CONF_IPV6_QUEUE_PKT */
|
2008-11-05 14:31:06 +00:00
|
|
|
#define UIP_CONF_IPV6_CHECKS 1
|
|
|
|
#define UIP_CONF_IPV6_REASSEMBLY 0
|
|
|
|
#define UIP_CONF_NETIF_MAX_ADDRESSES 3
|
|
|
|
#define UIP_CONF_ND6_MAX_PREFIXES 3
|
|
|
|
#define UIP_CONF_ND6_MAX_DEFROUTERS 2
|
|
|
|
#define UIP_CONF_IP_FORWARD 0
|
2010-10-21 18:25:39 +00:00
|
|
|
#ifndef UIP_CONF_BUFFER_SIZE
|
2010-02-06 10:00:25 +00:00
|
|
|
#define UIP_CONF_BUFFER_SIZE 240
|
2010-10-21 18:25:39 +00:00
|
|
|
#endif
|
2008-11-05 14:31:06 +00:00
|
|
|
|
|
|
|
#define SICSLOWPAN_CONF_COMPRESSION_IPV6 0
|
|
|
|
#define SICSLOWPAN_CONF_COMPRESSION_HC1 1
|
|
|
|
#define SICSLOWPAN_CONF_COMPRESSION_HC01 2
|
2010-02-25 15:51:37 +00:00
|
|
|
#define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_COMPRESSION_HC06
|
2010-02-06 10:00:25 +00:00
|
|
|
#ifndef SICSLOWPAN_CONF_FRAG
|
2010-02-08 22:12:29 +00:00
|
|
|
#define SICSLOWPAN_CONF_FRAG 1
|
|
|
|
#define SICSLOWPAN_CONF_MAXAGE 8
|
2010-02-06 10:00:25 +00:00
|
|
|
#endif /* SICSLOWPAN_CONF_FRAG */
|
2008-11-06 20:45:06 +00:00
|
|
|
#define SICSLOWPAN_CONF_CONVENTIONAL_MAC 1
|
2009-04-06 16:01:11 +00:00
|
|
|
#define SICSLOWPAN_CONF_MAX_ADDR_CONTEXTS 2
|
2010-12-16 22:51:22 +00:00
|
|
|
#ifndef SICSLOWPAN_CONF_MAX_MAC_TRANSMISSIONS
|
2010-10-26 13:26:16 +00:00
|
|
|
#define SICSLOWPAN_CONF_MAX_MAC_TRANSMISSIONS 5
|
2010-12-16 22:51:22 +00:00
|
|
|
#endif /* SICSLOWPAN_CONF_MAX_MAC_TRANSMISSIONS */
|
2010-02-03 16:48:04 +00:00
|
|
|
#else /* WITH_UIP6 */
|
2008-11-05 14:31:06 +00:00
|
|
|
#define UIP_CONF_IP_FORWARD 1
|
2009-04-06 13:23:14 +00:00
|
|
|
#define UIP_CONF_BUFFER_SIZE 108
|
2008-11-05 14:31:06 +00:00
|
|
|
#endif /* WITH_UIP6 */
|
|
|
|
|
2008-02-03 21:01:36 +00:00
|
|
|
#define UIP_CONF_ICMP_DEST_UNREACH 1
|
|
|
|
|
2006-08-02 14:44:46 +00:00
|
|
|
#define UIP_CONF_DHCP_LIGHT
|
|
|
|
#define UIP_CONF_LLH_LEN 0
|
2010-10-21 18:25:39 +00:00
|
|
|
#ifndef UIP_CONF_RECEIVE_WINDOW
|
2010-01-28 13:38:40 +00:00
|
|
|
#define UIP_CONF_RECEIVE_WINDOW 48
|
2010-10-21 18:25:39 +00:00
|
|
|
#endif
|
|
|
|
#ifndef UIP_CONF_TCP_MSS
|
2010-01-28 13:38:40 +00:00
|
|
|
#define UIP_CONF_TCP_MSS 48
|
2010-10-21 18:25:39 +00:00
|
|
|
#endif
|
2006-08-02 14:44:46 +00:00
|
|
|
#define UIP_CONF_MAX_CONNECTIONS 4
|
|
|
|
#define UIP_CONF_MAX_LISTENPORTS 8
|
2007-04-11 15:22:05 +00:00
|
|
|
#define UIP_CONF_UDP_CONNS 12
|
2007-04-04 11:39:49 +00:00
|
|
|
#define UIP_CONF_FWCACHE_SIZE 30
|
2006-08-02 14:44:46 +00:00
|
|
|
#define UIP_CONF_BROADCAST 1
|
|
|
|
#define UIP_ARCH_IPCHKSUM 1
|
2009-04-06 16:01:11 +00:00
|
|
|
#define UIP_CONF_UDP 1
|
2006-08-02 14:44:46 +00:00
|
|
|
#define UIP_CONF_UDP_CHECKSUMS 1
|
|
|
|
#define UIP_CONF_PINGADDRCONF 0
|
|
|
|
#define UIP_CONF_LOGGING 0
|
|
|
|
|
2008-02-24 21:11:35 +00:00
|
|
|
#define UIP_CONF_TCP_SPLIT 0
|
|
|
|
|
2006-08-02 14:44:46 +00:00
|
|
|
|
2009-02-14 22:52:24 +00:00
|
|
|
|
2011-09-05 09:46:15 +00:00
|
|
|
/* include the project config */
|
|
|
|
/* PROJECT_CONF_H might be defined in the project Makefile */
|
|
|
|
#ifdef PROJECT_CONF_H
|
|
|
|
#include PROJECT_CONF_H
|
|
|
|
#endif /* PROJECT_CONF_H */
|
|
|
|
|
2007-05-22 21:12:15 +00:00
|
|
|
|
2006-08-02 14:44:46 +00:00
|
|
|
#endif /* CONTIKI_CONF_H */
|