Contiki 3.x
Modules | Files | Functions
SmartRF+CC13xx/CC26xx EM, CC2650 SensorTag and LaunchPads

This platform supports a number of different boards: More...

Modules

 CC13xx/CC26xx peripheral driver pool
 Drivers for peripherals present on more than one CC13xx/CC26xx board.
 
 LaunchPad peripherals
 Defines related to LaunchPad peripherals.
 
 Sensortag Peripherals
 Defines related to the CC2650 Sensortag.
 
 SmartRF06EB + CC13xx/CC26xx common
 Defines related to the SmartRF06 Evaluation Board irrespective of the EM mounted on it.
 
 Peripherals for the SmartRF06EB + CC1310EM
 Defines related to the SmartRF06 Evaluation Board with a CC1310EM.
 
 Peripherals for the SmartRF06EB + CC26xxEM
 Defines related to the SmartRF06 Evaluation Board with a CC26xxEM.
 

Files

file  contiki-conf.h
 Configuration for the srf06-cc26xx platform.
 
file  board-peripherals.h
 Header file with definitions related to the sensors on the Sensortag-CC26xx.
 

Functions

void board_init (void)
 Board specific iniatialisation. More...
 
int main (void)
 Main function for CC26xx-based platforms. More...
 

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
 

Detailed Description

This platform supports a number of different boards:

Function Documentation

void board_init ( void  )

Board specific iniatialisation.

Board specific iniatialisation.

Definition at line 54 of file board.c.

Referenced by main().

int main ( void  )