A Atmel RF2xx Radio Library for Mbed

Dependents:   xBedRadio MxSniffer

Embed: (wiki syntax)

« Back to documentation index

radio.h File Reference

radio.h File Reference

Interface for grpLibRadio. More...

Go to the source code of this file.

Data Structures

union  radio_param_t
 Container for handover of radio parameter values. More...
struct  radio_status_t
 Structure for storage of radio parameters. More...

Typedefs

typedef uint8_t radio_state_t
 Radio state type.
typedef enum SHORTENUM radio_cca_t
 codes for CCA
typedef enum SHORTENUM radio_attribute_t
 Enumeration to identify radio attributes.
typedef union radio_param_t radio_param_t
 Container for handover of radio parameter values.
typedef enum SHORTENUM radio_error_t
 Error codes.

Enumerations

enum  radio_tx_done_t { TX_OK, TX_CCA_FAIL, TX_NO_ACK, TX_FAIL }
 

error codes for tx done event

More...
enum  SHORTENUM {
  RADIO_CCA_FREE = CCA_IDLE, RADIO_CCA_BUSY = CCA_BUSY, RADIO_CCA_FAIL = 255, RADIO_CCA_FREE = CCA_IDLE,
  RADIO_CCA_BUSY = CCA_BUSY, RADIO_CCA_FAIL = 255, phyCurrentChannel, phyChannelsSupported,
  phyTransmitPower, phyIdleState, phyCCAMode, phyPanId,
  phyShortAddr, phyLongAddr, phyDataRate, phyTxPa,
  phyRxLna, SUCCESS = 0, STATE_SET_FAILED = 1, SET_PARM_FAILED,
  GET_PARM_FAILED, GENERAL_ERROR
}
 

codes for CCA

More...
enum  SHORTENUM {
  RADIO_CCA_FREE = CCA_IDLE, RADIO_CCA_BUSY = CCA_BUSY, RADIO_CCA_FAIL = 255, RADIO_CCA_FREE = CCA_IDLE,
  RADIO_CCA_BUSY = CCA_BUSY, RADIO_CCA_FAIL = 255, phyCurrentChannel, phyChannelsSupported,
  phyTransmitPower, phyIdleState, phyCCAMode, phyPanId,
  phyShortAddr, phyLongAddr, phyDataRate, phyTxPa,
  phyRxLna, SUCCESS = 0, STATE_SET_FAILED = 1, SET_PARM_FAILED,
  GET_PARM_FAILED, GENERAL_ERROR
}
 

Enumeration to identify radio attributes.

More...
enum  SHORTENUM {
  RADIO_CCA_FREE = CCA_IDLE, RADIO_CCA_BUSY = CCA_BUSY, RADIO_CCA_FAIL = 255, RADIO_CCA_FREE = CCA_IDLE,
  RADIO_CCA_BUSY = CCA_BUSY, RADIO_CCA_FAIL = 255, phyCurrentChannel, phyChannelsSupported,
  phyTransmitPower, phyIdleState, phyCCAMode, phyPanId,
  phyShortAddr, phyLongAddr, phyDataRate, phyTxPa,
  phyRxLna, SUCCESS = 0, STATE_SET_FAILED = 1, SET_PARM_FAILED,
  GET_PARM_FAILED, GENERAL_ERROR
}
 

Error codes.

More...

Detailed Description

Interface for grpLibRadio.

Definition in file radio.h.