Go to the documentation of this file.
42 #ifndef __CONTIKI_CONF_H__
43 #define __CONTIKI_CONF_H__
46 #define PLATFORM PLATFORM_AVR
47 #define HARWARE_REVISION ZIGBIT
50 #define CLOCK_CONF_SECOND 125
53 #define RIME_CONF_BROADCAST_ANNOUNCEMENT_MAX_TIME CLOCK_CONF_SECOND * 524UL
56 #define INFINITE_TIME 0xffff
59 #define SLIP_PORT RS232_PORT_0
62 #define MMEM_CONF_SIZE 256
67 #define EEPROMFS_ADDR_CODEPROP 0x8000
72 #define RIMEADDR_CONF_SIZE 8
73 #define PACKETBUF_CONF_HDR_SIZE 0
77 #define UIP_CONF_ICMP6 1
78 #define UIP_CONF_UDP 1
79 #define UIP_CONF_TCP 1
84 #define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_COMPRESSION_HC06
85 #define SICSLOWPAN_CONF_CONVENTIONAL_MAC 1 //for barebones driver, sicslowpan calls radio->read function
86 #undef PACKETBUF_CONF_HDR_SIZE //RF230BB takes the packetbuf default for header size
87 #define UIP_CONF_LLH_LEN 0
91 #define NETSTACK_CONF_NETWORK sicslowpan_driver
93 #define NETSTACK_CONF_NETWORK rime_driver
95 #define NETSTACK_CONF_MAC nullmac_driver
96 #define NETSTACK_CONF_RDC sicslowmac_driver
97 #define NETSTACK_CONF_FRAMER framer_802154
98 #define NETSTACK_CONF_RADIO rf230_driver
99 #define CHANNEL_802_15_4 26
100 #define RF230_CONF_AUTOACK 1
101 #define RF230_CONF_AUTORETRIES 2
102 #define SICSLOWPAN_CONF_FRAG 1
104 #define SICSLOWPAN_CONF_MAXAGE 3
105 #define QUEUEBUF_CONF_NUM 1
106 #define QUEUEBUF_CONF_REF_NUM 1
108 #define UIP_CONF_BUFFER_SIZE 240
114 #define SICSLOWPAN_CONF_COMPRESSION_IPV6 0
115 #define SICSLOWPAN_CONF_COMPRESSION_HC1 1
116 #define SICSLOWPAN_CONF_COMPRESSION_HC01 2 //NB '2' is now HC06 in the core mac!
118 #define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_CONF_COMPRESSION_HC01
119 #define SICSLOWPAN_CONF_MAXAGE 5
120 #define UIP_CONF_LLH_LEN 14
123 #define SICSLOWPAN_CONF_MAX_ADDR_CONTEXTS 2
124 #define SICSLOWPAN_CONF_FRAG 1
126 #define UIP_CONF_LL_802154 1
128 #define UIP_CONF_MAX_CONNECTIONS 2
129 #define UIP_CONF_MAX_LISTENPORTS 2
130 #define UIP_CONF_UDP_CONNS 2
132 #define UIP_CONF_IP_FORWARD 0
133 #define UIP_CONF_FWCACHE_SIZE 0
135 #define UIP_CONF_IPV6_CHECKS 1
136 #define UIP_CONF_IPV6_QUEUE_PKT 0
137 #define UIP_CONF_IPV6_REASSEMBLY 0
138 #define UIP_CONF_NETIF_MAX_ADDRESSES 3
139 #define UIP_CONF_ND6_MAX_PREFIXES 3
140 #define UIP_CONF_ND6_MAX_NEIGHBORS 4
141 #define UIP_CONF_ND6_MAX_DEFROUTERS 2
142 #define UIP_CONF_UDP_CHECKSUMS 1
143 #define UIP_CONF_TCP_SPLIT 1
148 typedef int32_t
s32_t;
149 typedef unsigned short clock_time_t;
150 typedef unsigned char u8_t;
151 typedef unsigned short u16_t;
152 typedef unsigned long u32_t;
154 typedef unsigned long off_t;
158 void clock_set_seconds(
unsigned long s);
159 unsigned long clock_seconds(
void);