Contiki 3.x
Files
Contiki configuration

Files

file  contiki-conf.h
 Contiki configuration for the nRF52 DK.
 

Network Stack Configuration

#define NETSTACK_CONF_NETWORK   sicslowpan_driver
 
#define NETSTACK_CONF_MAC   ble_ipsp_mac_driver
 
#define SICSLOWPAN_CONF_MAC_MAX_PAYLOAD   1280
 
#define SICSLOWPAN_CONF_COMPRESSION   SICSLOWPAN_COMPRESSION_HC06
 
#define SICSLOWPAN_CONF_COMPRESSION_THRESHOLD   0
 Always compress IPv6 packets. More...
 
#define SICSLOWPAN_CONF_FRAG   0
 We don't use 6LoWPAN fragmentation as IPSP takes care of that for us. More...
 
#define SICSLOWPAN_FRAMER_HDRLEN   0
 Use fixed header len rather than framer.length() function.
 
#define PACKETBUF_CONF_SIZE   1280
 Required IPv6 MTU size.
 

BLE configuration

#define DEVICE_NAME   "Contiki nRF52dk"
 Device name used in BLE undirected advertisement. More...
 

IPv6 network buffer configuration

#define LINKADDR_CONF_SIZE   8
 
#define UIP_CONF_LL_802154   1
 
#define UIP_CONF_LLH_LEN   0
 
#define UIP_CONF_BUFFER_SIZE   1280
 
#define UIP_CONF_ROUTER   0
 BLE master role, which allows for routing, isn't supported. More...
 
#define UIP_CONF_ND6_SEND_NA   1
 
#define UIP_CONF_IP_FORWARD   0
 No packet forwarding. More...
 
#define UIP_CONF_ND6_REACHABLE_TIME   600000
 
#define UIP_CONF_ND6_RETRANS_TIMER   10000
 
#define NBR_TABLE_CONF_MAX_NEIGHBORS   20
 
#define UIP_CONF_MAX_ROUTES   20
 
#define UIP_CONF_TCP   1
 
#define UIP_CONF_TCP_MSS   64
 
#define UIP_CONF_UDP   1
 
#define UIP_CONF_UDP_CHECKSUMS   1
 
#define UIP_CONF_ICMP6   1
 

Generic Configuration directives

#define ENERGEST_CONF_ON   1
 Energest Module.
 

Detailed Description

Macro Definition Documentation

#define DEVICE_NAME   "Contiki nRF52dk"

Device name used in BLE undirected advertisement.

Definition at line 82 of file contiki-conf.h.

Referenced by main().

#define SICSLOWPAN_CONF_COMPRESSION_THRESHOLD   0

Always compress IPv6 packets.

Definition at line 69 of file contiki-conf.h.

#define SICSLOWPAN_CONF_FRAG   0

We don't use 6LoWPAN fragmentation as IPSP takes care of that for us.

Definition at line 70 of file contiki-conf.h.

#define UIP_CONF_IP_FORWARD   0

No packet forwarding.

Definition at line 113 of file contiki-conf.h.

#define UIP_CONF_ROUTER   0

BLE master role, which allows for routing, isn't supported.

Definition at line 111 of file contiki-conf.h.