48#include "dev/radio/cc2420/cc2420_const.h"
51#define WITH_SEND_CCA 1
53#ifndef CC2420_CONF_CCA_THRESH
54#define CC2420_CONF_CCA_THRESH -45
57#ifndef CC2420_CONF_AUTOACK
58#define CC2420_CONF_AUTOACK 1
63#define FOOTER1_CRC_OK 0x80
64#define FOOTER1_CORRELATION 0x7f
66#ifdef CC2420_CONF_RSSI_OFFSET
67#define RSSI_OFFSET CC2420_CONF_RSSI_OFFSET
70#define RSSI_OFFSET -45
75#define CC2420_MAX_PACKET_LEN 127
77int cc2420_set_channel(
int channel);
78int cc2420_get_channel(
void);
80void cc2420_set_pan_addr(
unsigned pan,
82 const uint8_t *ieee_addr);
84extern signed char cc2420_last_rssi;
85extern uint8_t cc2420_last_correlation;
95int cc2420_get_txpower(
void);
96#define CC2420_TXPOWER_MAX 31
97#define CC2420_TXPOWER_MIN 0
105extern int cc2420_authority_level_of_sender;
110void cc2420_set_cca_threshold(
int value);
void cc2420_set_txpower(uint8_t power)
int cc2420_interrupt(void)
Interrupt function, called from the simple-cc2420-arch driver.
Header file for the radio API.
Structure of AES drivers.
The structure of a Contiki-NG radio device driver.
static uip_ds6_addr_t * addr
Pointer to a nbr cache entry.