Detailed Description

Functions

int at86rf215_configure_OFDM (at86rf215_t *dev, uint8_t option, uint8_t mcs)
 Configure the radio to make use of OFDM modulation. More...
 
int at86rf215_OFDM_set_scheme (at86rf215_t *dev, uint8_t mcs)
 Set the current modulation and coding scheme (MCS) More...
 
uint8_t at86rf215_OFDM_get_scheme (at86rf215_t *dev)
 Get the current modulation and coding scheme (MCS) More...
 
int at86rf215_OFDM_set_option (at86rf215_t *dev, uint8_t option)
 Set the current OFDM option. More...
 
uint8_t at86rf215_OFDM_get_option (at86rf215_t *dev)
 Get the current OFDM option. More...
 

Function Documentation

◆ at86rf215_configure_OFDM()

int at86rf215_configure_OFDM ( at86rf215_t dev,
uint8_t  option,
uint8_t  mcs 
)

Configure the radio to make use of OFDM modulation.

There are 4 OFDM options, each with a different number of active tones. The device supports BPSK, QPSK and 16-QAM modulation and coding schemes (MCS)

Parameters
[in]devdevice to configure
[in]optionmodulation option, each increment halves the data rate
[in]mcsmodulation scheme, BB_MCS_BPSK_REP4BB_MCS_16QAM_3BY4
Returns
0 on success, error otherwise

◆ at86rf215_OFDM_get_option()

uint8_t at86rf215_OFDM_get_option ( at86rf215_t dev)

Get the current OFDM option.

Parameters
[in]devdevice to read from
Returns
the current OFDM option

◆ at86rf215_OFDM_get_scheme()

uint8_t at86rf215_OFDM_get_scheme ( at86rf215_t dev)

Get the current modulation and coding scheme (MCS)

Parameters
[in]devdevice to read from
Returns
the current modulation & coding scheme

◆ at86rf215_OFDM_set_option()

int at86rf215_OFDM_set_option ( at86rf215_t dev,
uint8_t  option 
)

Set the current OFDM option.

Parameters
[in]devdevice to configure
[in]optionOFDM option
Returns
0 on success, error otherwise

◆ at86rf215_OFDM_set_scheme()

int at86rf215_OFDM_set_scheme ( at86rf215_t dev,
uint8_t  mcs 
)

Set the current modulation and coding scheme (MCS)

Parameters
[in]devdevice to configure
[in]mcsmodulation and coding scheme
Returns
0 on success, error otherwise