contiki-conf.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049 #ifndef __CONTIKI_CONF_H__
00050 #define __CONTIKI_CONF_H__
00051
00052 #include <stdint.h>
00053
00054
00055 #include "contiki-mc1322x-conf.h"
00056
00057 #include "redbee-econotag.h"
00058
00059
00060 #define CLOCK_CONF_SECOND 100
00061
00062
00063
00064 #define BLINK_SECONDS 0
00065
00066 #define CCIF
00067 #define CLIF
00068
00069
00070 #define MOD 9999
00071
00072
00073 #define INC 767
00074
00075
00076 #define SAMP UCON_SAMP_8X
00077
00078
00079 #define uart_init uart1_init
00080 #define dbg_putchar(x) uart1_putc(x)
00081
00082
00083
00084 #define USE_FORMATTED_STDIO 1
00085 #define MACA_DEBUG 0
00086 #define CONTIKI_MACA_RAW_MODE 0
00087 #define USE_32KHZ_XTAL 0
00088
00089 #define BLOCKING_TX 1
00090 #define NULLRDC_CONF_802154_AUTOACK_HW 1
00091
00092 #define USE_WDT 0
00093
00094 #ifndef WDT_TIMEOUT
00095 #define WDT_TIMEOUT 5000
00096 #endif
00097
00098
00099
00100
00101 #define RIMEADDR_CONF_SIZE 8
00102
00103
00104
00105 #define OUI 0xacde48
00106 #define IAB 0xA8C
00107
00108
00109 #undef EXT_ID
00110
00111 #define FLASH_BLANK_ADDR
00112
00113 #if WITH_UIP6
00114
00115 #define NETSTACK_CONF_NETWORK sicslowpan_driver
00116 #define NETSTACK_CONF_MAC nullmac_driver
00117
00118 #define NETSTACK_CONF_RDC nullrdc_driver
00119 #define NETSTACK_CONF_RADIO contiki_maca_driver
00120 #define NETSTACK_CONF_FRAMER framer_802154
00121
00122 #define MAC_CONF_CHANNEL_CHECK_RATE 8
00123 #define RIME_CONF_NO_POLITE_ANNOUCEMENTS 0
00124 #define CXMAC_CONF_ANNOUNCEMENTS 0
00125 #define XMAC_CONF_ANNOUNCEMENTS 0
00126
00127 #else
00128
00129
00130 #define NETSTACK_CONF_NETWORK rime_driver
00131 #define NETSTACK_CONF_MAC csma_driver
00132 #define NETSTACK_CONF_RDC sicslowmac_driver
00133 #define NETSTACK_CONF_RADIO contiki_maca_driver
00134 #define NETSTACK_CONF_FRAMER framer_802154
00135
00136 #define MAC_CONF_CHANNEL_CHECK_RATE 8
00137
00138 #define COLLECT_CONF_ANNOUNCEMENTS 1
00139 #define RIME_CONF_NO_POLITE_ANNOUCEMENTS 0
00140 #define CXMAC_CONF_ANNOUNCEMENTS 0
00141 #define XMAC_CONF_ANNOUNCEMENTS 0
00142 #define CONTIKIMAC_CONF_ANNOUNCEMENTS 0
00143
00144 #define CONTIKIMAC_CONF_COMPOWER 0
00145 #define XMAC_CONF_COMPOWER 0
00146 #define CXMAC_CONF_COMPOWER 0
00147
00148 #define COLLECT_NEIGHBOR_CONF_MAX_NEIGHBORS 32
00149
00150 #endif
00151
00152 #define QUEUEBUF_CONF_NUM 16
00153
00154 #define PACKETBUF_CONF_ATTRS_INLINE 1
00155
00156 #ifndef RF_CHANNEL
00157 #define RF_CHANNEL 26
00158 #endif
00159
00160 #define CONTIKIMAC_CONF_BROADCAST_RATE_LIMIT 0
00161
00162 #define IEEE802154_CONF_PANID 0xABCD
00163
00164 #define PROFILE_CONF_ON 0
00165 #define ENERGEST_CONF_ON 0
00166
00167 #define AODV_COMPLIANCE
00168 #define AODV_NUM_RT_ENTRIES 32
00169
00170 #define WITH_ASCII 1
00171
00172 #define PROCESS_CONF_NUMEVENTS 8
00173 #define PROCESS_CONF_STATS 1
00174
00175 #ifdef WITH_UIP6
00176
00177 #define RIMEADDR_CONF_SIZE 8
00178
00179 #define UIP_CONF_LL_802154 1
00180 #define UIP_CONF_LLH_LEN 0
00181
00182 #define UIP_CONF_ROUTER 1
00183 #define UIP_CONF_IPV6_RPL 1
00184
00185 #define UIP_CONF_DS6_NBR_NBU 30
00186 #define UIP_CONF_DS6_ROUTE_NBU 30
00187
00188 #define UIP_CONF_ND6_SEND_RA 0
00189 #define UIP_CONF_ND6_REACHABLE_TIME 600000
00190 #define UIP_CONF_ND6_RETRANS_TIMER 10000
00191
00192 #define UIP_CONF_IPV6 1
00193 #define UIP_CONF_IPV6_QUEUE_PKT 0
00194 #define UIP_CONF_IPV6_CHECKS 1
00195 #define UIP_CONF_IPV6_REASSEMBLY 0
00196 #define UIP_CONF_NETIF_MAX_ADDRESSES 3
00197 #define UIP_CONF_ND6_MAX_PREFIXES 3
00198 #define UIP_CONF_ND6_MAX_NEIGHBORS 4
00199 #define UIP_CONF_ND6_MAX_DEFROUTERS 2
00200 #define UIP_CONF_IP_FORWARD 0
00201 #define UIP_CONF_BUFFER_SIZE 1300
00202 #define SICSLOWPAN_CONF_FRAG 1
00203 #define SICSLOWPAN_CONF_MAXAGE 8
00204
00205 #define SICSLOWPAN_CONF_COMPRESSION_IPV6 0
00206 #define SICSLOWPAN_CONF_COMPRESSION_HC1 1
00207 #define SICSLOWPAN_CONF_COMPRESSION_HC01 2
00208 #define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_COMPRESSION_HC06
00209 #ifndef SICSLOWPAN_CONF_FRAG
00210 #define SICSLOWPAN_CONF_FRAG 1
00211 #define SICSLOWPAN_CONF_MAXAGE 8
00212 #endif
00213 #define SICSLOWPAN_CONF_CONVENTIONAL_MAC 1
00214 #define SICSLOWPAN_CONF_MAX_ADDR_CONTEXTS 2
00215 #else
00216 #define UIP_CONF_IP_FORWARD 1
00217 #define UIP_CONF_BUFFER_SIZE 1300
00218 #endif
00219
00220 #define UIP_CONF_ICMP_DEST_UNREACH 1
00221
00222 #define UIP_CONF_DHCP_LIGHT
00223 #define UIP_CONF_LLH_LEN 0
00224 #define UIP_CONF_RECEIVE_WINDOW 48
00225 #define UIP_CONF_TCP_MSS 48
00226 #define UIP_CONF_MAX_CONNECTIONS 4
00227 #define UIP_CONF_MAX_LISTENPORTS 8
00228 #define UIP_CONF_UDP_CONNS 12
00229 #define UIP_CONF_FWCACHE_SIZE 30
00230 #define UIP_CONF_BROADCAST 1
00231 #define UIP_ARCH_IPCHKSUM 1
00232 #define UIP_CONF_UDP 1
00233 #define UIP_CONF_UDP_CHECKSUMS 1
00234 #define UIP_CONF_PINGADDRCONF 0
00235 #define UIP_CONF_LOGGING 0
00236
00237 #define UIP_CONF_TCP_SPLIT 0
00238
00239
00240
00241 #ifdef PROJECT_CONF_H
00242 #include PROJECT_CONF_H
00243 #endif
00244
00245 #endif