Interface definition for the CSMA/CA helper. More...
Interface definition for the CSMA/CA helper.
Definition in file csma_sender.h.
Go to the source code of this file.
Data Structures | |
struct | csma_sender_conf_t |
Configuration type for backoff. More... | |
Macros | |
#define | CONFIG_CSMA_SENDER_MIN_BE_DEFAULT (3U) |
Default Minimal CSMA/CA Backoff Exponent. | |
#define | CONFIG_CSMA_SENDER_MAX_BE_DEFAULT (5U) |
Default Maximal CSMA/CA Backoff Exponent. | |
#define | CONFIG_CSMA_SENDER_MAX_BACKOFFS_DEFAULT (4U) |
Default Maximal number of retries for sending a given packet with the CSMA/CA method. | |
#define | CONFIG_CSMA_SENDER_BACKOFF_PERIOD_UNIT (320U) |
CSMA/CA backoff period, in microseconds. | |
Functions | |
int | csma_sender_csma_ca_send (netdev_t *dev, iolist_t *iolist, const csma_sender_conf_t *conf) |
Sends a 802.15.4 frame using the CSMA/CA method. More... | |
int | csma_sender_cca_send (netdev_t *dev, iolist_t *iolist) |
Sends a 802.15.4 frame when medium is available. More... | |
Variables | |
const csma_sender_conf_t | CSMA_SENDER_CONF_DEFAULT |
Default configuration. | |