Contiki 3.x

Configuration for the srf06-cc26xx platform. More...

#include <stdint.h>
#include "board.h"

Go to the source code of this file.

Macros

Network Stack Configuration
#define NETSTACK_CONF_NETWORK   sicslowpan_driver
 
#define NETSTACK_CONF_MAC   csma_driver
 
#define NETSTACK_CONF_RDC   contikimac_driver
 
#define NULLRDC_CONF_802154_AUTOACK   1
 
#define CONTIKIMAC_CONF_WITH_CONTIKIMAC_HEADER   0
 
#define CONTIKIMAC_CONF_WITH_PHASE_OPTIMIZATION   0
 
#define WITH_FAST_SLEEP   1
 
#define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE   8
 
#define NETSTACK_CONF_FRAMER   framer_802154
 
#define NETSTACK_CONF_RADIO   ieee_mode_driver
 
#define RF_CORE_CONF_CHANNEL   25
 
#define NULLRDC_CONF_802154_AUTOACK_HW   1
 
#define NULLRDC_CONF_SEND_802154_ACK   0
 
#define NETSTACK_RADIO_MAX_PAYLOAD_LEN   125
 
#define SICSLOWPAN_CONF_COMPRESSION   SICSLOWPAN_COMPRESSION_HC06
 
#define SICSLOWPAN_CONF_COMPRESSION_THRESHOLD   63
 
#define SICSLOWPAN_CONF_FRAG   1
 
#define SICSLOWPAN_CONF_MAXAGE   8
 
IEEE address configuration

Used to generate our RIME & IPv6 address

#define IEEE_ADDR_CONF_HARDCODED   0
 Location of the IEEE address 0 => Read from InfoPage, 1 => Use a hardcoded address, configured by IEEE_ADDR_CONF_ADDRESS.
 
#define IEEE_ADDR_CONF_ADDRESS   { 0x00, 0x12, 0x4B, 0x00, 0x89, 0xAB, 0xCD, 0xEF }
 The hardcoded IEEE address to be used when IEEE_ADDR_CONF_HARDCODED is defined as 1.
 
RF configuration
#define IEEE802154_CONF_PANID   0xABCD
 Default PAN ID.
 
#define IEEE_MODE_CONF_AUTOACK   1
 RF H/W generates ACKs.
 
#define IEEE_MODE_CONF_PROMISCOUS   0
 1 to enable promiscous mode
 
#define RF_BLE_CONF_ENABLED   0
 0 to disable BLE support
 
#define PROP_MODE_CONF_SNIFFER   0
 1 to enable sniffer mode
 
IPv6, RIME and 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   1000
 
#define UIP_CONF_ROUTER   1
 
#define UIP_CONF_ND6_SEND_RA   0
 
#define UIP_CONF_IP_FORWARD   0
 
#define RPL_CONF_STATS   0
 
#define RPL_CONF_OF   rpl_mrhof
 
#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   0
 Energest Module.
 
Character I/O Configuration
#define CC26XX_UART_CONF_ENABLE   1
 Enable/Disable UART I/O.
 
#define CC26XX_UART_CONF_BAUD_RATE   115200
 Default UART0 baud rate.
 
#define BOARD_CONF_DEBUGGER_DEVPACK   1
 
#define SLIP_BRIDGE_CONF_NO_PUTCHAR   1
 
#define SLIP_RADIO_CONF_NO_PUTCHAR   1
 
Button configurations

Configure a button as power on/off: We use the right button for both boards.

#define BUTTON_SENSOR_CONF_ENABLE_SHUTDOWN   1
 
#define PLATFORM_HAS_BUTTON   1
 
#define button_sensor   button_left_sensor
 
#define button_sensor2   button_right_sensor
 

Compiler configuration and platform-specific type definitions

Those values are not meant to be modified by the user

#define CLOCK_CONF_SECOND   128
 
#define CCIF
 
#define CLIF
 
#define CLOCK_LT(a, b)   ((signed long)((a) - (b)) < 0)
 
#define RTIMER_CLOCK_DIFF(a, b)   ((int32_t)((a) - (b)))
 
typedef uint32_t clock_time_t
 
typedef uint32_t uip_stats_t
 
typedef uint32_t rtimer_clock_t
 

Detailed Description

Configuration for the srf06-cc26xx platform.

Definition in file contiki-conf.h.