RAIL_CsmaConfig_t Struct Reference

A configuration structure for the CSMA transmit algorithm.

#include < rail_types.h >

Data Fields

uint8_t csmaMinBoExp
The minimum (starting) exponent for CSMA backoff (2^exp - 1).
uint8_t csmaMaxBoExp
The maximum exponent for CSMA backoff.
uint8_t csmaTries
A number of CCA failures before report CCA_FAIL with a maximum value defined in RAIL_MAX_LBT_TRIES ).
int8_t ccaThreshold
The CCA RSSI threshold, in dBm, above which the channel is considered 'busy'.
uint16_t ccaBackoff
The backoff unit period in RAIL's microsecond time base.
uint16_t ccaDuration
CCA check duration in microseconds.
RAIL_Time_t csmaTimeout
An overall timeout, in RAIL's microsecond time base, for the operation.

A configuration structure for the CSMA transmit algorithm.

Definition at line 1539 of file rail_types.h .

Field Documentation

uint16_t RAIL_CsmaConfig_t::ccaBackoff

The backoff unit period in RAIL's microsecond time base.

It is multiplied by the random backoff exponential controlled by csmaMinBoExp and csmaMaxBoExp to determine the overall backoff period. For random backoffs, any value above 511 microseconds will be truncated. For fixed backoffs it can go up to 65535 microseconds.

Definition at line 1566 of file rail_types.h .

RAIL_Time_t RAIL_CsmaConfig_t::csmaTimeout

An overall timeout, in RAIL's microsecond time base, for the operation.

If the transmission doesn't start before this timeout expires, the transmission will fail. A value 0 means no timeout is imposed.

Definition at line 1576 of file rail_types.h .

uint8_t RAIL_CsmaConfig_t::csmaTries

A number of CCA failures before report CCA_FAIL with a maximum value defined in RAIL_MAX_LBT_TRIES ).

A value 0 performs no CCA assessments and always transmits immediately.

Definition at line 1553 of file rail_types.h .


The documentation for this struct was generated from the following file:
  • common/ rail_types.h