Go to the documentation of this file.
42 #ifndef __CONTIKI_CONF_H__
43 #define __CONTIKI_CONF_H__
53 #define NETSTACK_CONF_NETWORK sicslowpan_driver
54 #define NETSTACK_CONF_MAC csma_driver
55 #define NETSTACK_CONF_RDC nullrdc_driver
56 #define NETSTACK_CONF_FRAMER framer_802154
58 #define CC2420_CONF_AUTOACK 1
59 #define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 8
60 #define RIME_CONF_NO_POLITE_ANNOUCEMENTS 0
61 #define CXMAC_CONF_ANNOUNCEMENTS 0
67 #define NETSTACK_CONF_NETWORK rime_driver
68 #define NETSTACK_CONF_MAC csma_driver
69 #define NETSTACK_CONF_RDC cxmac_driver
70 #define NETSTACK_CONF_FRAMER framer_802154
72 #define CC2420_CONF_AUTOACK 1
73 #define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 8
75 #define COLLECT_CONF_ANNOUNCEMENTS 1
76 #define RIME_CONF_NO_POLITE_ANNOUCEMENTS 1
77 #define CXMAC_CONF_ANNOUNCEMENTS 0
78 #define CXMAC_CONF_COMPOWER 1
79 #define CONTIKIMAC_CONF_ANNOUNCEMENTS 0
80 #define CONTIKIMAC_CONF_COMPOWER 1
82 #define COLLECT_NEIGHBOR_CONF_MAX_NEIGHBORS 32
86 #define PACKETBUF_CONF_ATTRS_INLINE 1
92 #define CONTIKIMAC_CONF_BROADCAST_RATE_LIMIT 0
94 #define IEEE802154_CONF_PANID 0xABCD
97 #define AODV_COMPLIANCE
98 #define AODV_NUM_RT_ENTRIES 32
102 #define PROCESS_CONF_NUMEVENTS 8
103 #define PROCESS_CONF_STATS 1
107 #define RIMEADDR_CONF_SIZE 8
109 #define UIP_CONF_LL_802154 1
110 #define UIP_CONF_LLH_LEN 0
112 #define UIP_CONF_ROUTER 1
113 #define UIP_CONF_IPV6_RPL 1
116 #define UIP_CONF_DS6_NBR_NBU 5
117 #define UIP_CONF_DS6_ROUTE_NBU 5
119 #define RPL_CONF_MAX_PARENTS 4
120 #define NEIGHBOR_CONF_MAX_NEIGHBORS 8
122 #define UIP_CONF_ND6_SEND_RA 0
123 #define UIP_CONF_ND6_REACHABLE_TIME 600000
124 #define UIP_CONF_ND6_RETRANS_TIMER 10000
126 #define UIP_CONF_IPV6 1
127 #define UIP_CONF_IPV6_QUEUE_PKT 0
128 #define UIP_CONF_IPV6_CHECKS 1
129 #define UIP_CONF_IPV6_REASSEMBLY 0
130 #define UIP_CONF_NETIF_MAX_ADDRESSES 3
131 #define UIP_CONF_ND6_MAX_PREFIXES 3
132 #define UIP_CONF_ND6_MAX_NEIGHBORS 4
133 #define UIP_CONF_ND6_MAX_DEFROUTERS 2
134 #define UIP_CONF_IP_FORWARD 0
135 #define UIP_CONF_BUFFER_SIZE 240
137 #define SICSLOWPAN_CONF_COMPRESSION_IPV6 0
138 #define SICSLOWPAN_CONF_COMPRESSION_HC1 1
139 #define SICSLOWPAN_CONF_COMPRESSION_HC01 2
140 #define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_COMPRESSION_HC06
141 #ifndef SICSLOWPAN_CONF_FRAG
142 #define SICSLOWPAN_CONF_FRAG 1
143 #define SICSLOWPAN_CONF_MAXAGE 8
145 #define SICSLOWPAN_CONF_CONVENTIONAL_MAC 1
146 #define SICSLOWPAN_CONF_MAX_ADDR_CONTEXTS 2
148 #define UIP_CONF_IP_FORWARD 1
149 #define UIP_CONF_BUFFER_SIZE 128
152 #define UIP_CONF_ICMP_DEST_UNREACH 1
154 #if !WITH_UIP && !WITH_UIP6
155 #define QUEUEBUF_CONF_NUM 8
157 #define QUEUEBUF_CONF_NUM 4
160 #define TIMESYNCH_CONF_ENABLED 1
161 #define CC2420_CONF_TIMESTAMPS 1
162 #define CC2420_CONF_SYMBOL_LOOP_COUNT 500
164 #define WITH_NULLMAC 0
170 #define PROCESS_CONF_NO_PROCESS_NAMES 1
172 #define UIP_CONF_ICMP_DEST_UNREACH 1
174 #define UIP_CONF_DHCP_LIGHT
175 #define UIP_CONF_LLH_LEN 0
176 #define UIP_CONF_RECEIVE_WINDOW 48
177 #define UIP_CONF_TCP_MSS 48
178 #define UIP_CONF_MAX_CONNECTIONS 4
179 #define UIP_CONF_MAX_LISTENPORTS 8
180 #define UIP_CONF_UDP_CONNS 12
181 #define UIP_CONF_FWCACHE_SIZE 15
182 #define UIP_CONF_BROADCAST 1
184 #define UIP_CONF_UDP 1
185 #define UIP_CONF_UDP_CHECKSUMS 1
186 #define UIP_CONF_PINGADDRCONF 0
187 #define UIP_CONF_LOGGING 0
189 #define UIP_CONF_TCP_SPLIT 0
192 typedef unsigned short clock_time_t;
194 typedef unsigned long off_t;
198 void clock_set_seconds(
unsigned long s);
199 unsigned long clock_seconds(
void);