1 #ifndef __CONTIKI_CONF_H__
2 #define __CONTIKI_CONF_H__
9 typedef unsigned short clock_time_t;
10 #define CLOCK_CONF_SECOND 125
12 #define RIME_CONF_BROADCAST_ANNOUNCEMENT_MAX_TIME CLOCK_CONF_SECOND * 524UL
13 #define COLLECT_CONF_BROADCAST_ANNOUNCEMENT_MAX_TIME CLOCK_CONF_SECOND * 524UL
19 #define RIMEADDR_CONF_SIZE 8
20 #define UIP_CONF_ICMP6 1
21 #define UIP_CONF_UDP 1
22 #define UIP_CONF_TCP 1
26 #define UIP_CONF_DS6_NBR_NBU 20
27 #define UIP_CONF_DS6_DEFRT_NBU 2
28 #define UIP_CONF_DS6_PREFIX_NBU 3
29 #define UIP_CONF_DS6_ROUTE_NBU 20
30 #define UIP_CONF_DS6_ADDR_NBU 3
31 #define UIP_CONF_DS6_MADDR_NBU 0
32 #define UIP_CONF_DS6_AADDR_NBU 0
34 #define NETSTACK_CONF_NETWORK sicslowpan_driver
35 #define NETSTACK_CONF_MAC nullmac_driver
36 #define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_COMPRESSION_HC06
37 #define NETSTACK_CONF_RDC sicslowmac_driver
38 #define NETSTACK_CONF_FRAMER framer_802154
39 #define NETSTACK_CONF_RADIO rf230_driver
40 #define CHANNEL_802_15_4 26
42 #define RF230_CONF_AUTOACK 1
44 #define SICSLOWPAN_CONF_ACK_ALL 0
46 #define RF230_CONF_AUTORETRIES 2
47 #define SICSLOWPAN_CONF_FRAG 1
49 #define SICSLOWPAN_CONF_MAXAGE 3
51 #define UIP_CONF_WAIT_TIMEOUT 5
55 #define RIMEADDR_CONF_SIZE 2
56 #define NETSTACK_CONF_NETWORK rime_driver
63 void clock_set_seconds(
unsigned long s);
64 unsigned long clock_seconds(
void);
70 typedef uint16_t
u16_t;
71 typedef int16_t s16_t;
72 typedef uint32_t
u32_t;
73 typedef int32_t
s32_t;