Contiki-NG
|
Header file for the radio API. More...
#include <stddef.h>
Go to the source code of this file.
Data Structures | |
struct | radio_driver |
The structure of a Contiki-NG radio device driver. More... | |
Macros | |
#define | RADIO_TX_MODE_SEND_ON_CCA (1 << 0) |
Radio TX mode control / retrieval. More... | |
Radio RX mode | |
The radio reception mode controls address filtering and automatic transmission of acknowledgements in the radio (if such operations are supported by the radio). A single parameter is used to allow setting these features simultaneously as an atomic operation. These macros are meant to be used as the To enable both address filter and transmissions of automatic acknowledgments: NETSTACK_RADIO.set_value(RADIO_PARAM_RX_MODE,
@ RADIO_PARAM_RX_MODE Radio receiver mode determines if the radio has address filter (RADIO_RX_MODE_ADDRESS_FILTER) and aut... Definition: radio.h:173 | |
#define | RADIO_RX_MODE_ADDRESS_FILTER (1 << 0) |
Enable address-based frame filtering. More... | |
#define | RADIO_RX_MODE_AUTOACK (1 << 1) |
Enable automatic transmission of ACK frames. | |
#define | RADIO_RX_MODE_POLL_MODE (1 << 2) |
Enable/disable/get the state of radio driver poll mode operation. | |
Typedefs | |
typedef int | radio_value_t |
Each radio has a set of parameters that designate the current configuration and state of the radio. More... | |
typedef enum radio_result_e | radio_result_t |
Radio return values when setting or getting radio parameters. | |
Header file for the radio API.
Definition in file radio.h.