This module includes the platform abstraction for a radio frame. More...
Data Structures | |
struct | otExtAddress |
struct | otRadioIeInfo |
struct | otRadioFrame |
Macros | |
#define | OT_PANID_BROADCAST 0xffff |
IEEE 802.15.4 Broadcast PAN ID. | |
#define | OT_EXT_ADDRESS_SIZE 8 |
Size of an IEEE 802.15.4 Extended Address (bytes) | |
Typedefs | |
typedef uint8_t | otRadioCaps |
typedef uint16_t | otPanId |
typedef uint16_t | otShortAddress |
typedef struct otExtAddress | otExtAddress |
typedef struct otRadioIeInfo | otRadioIeInfo |
typedef struct otRadioFrame | otRadioFrame |
typedef enum otRadioState | otRadioState |
Enumerations | |
enum | { OT_RADIO_FRAME_MAX_SIZE = 127, OT_RADIO_CHANNEL_MIN = 11, OT_RADIO_CHANNEL_MAX = 26, OT_RADIO_SUPPORTED_CHANNELS = 0xffff << OT_RADIO_CHANNEL_MIN, OT_RADIO_SYMBOLS_PER_OCTET = 2, OT_RADIO_BIT_RATE = 250000, OT_RADIO_BITS_PER_OCTET = 8, OT_RADIO_SYMBOL_TIME = ((OT_RADIO_BITS_PER_OCTET / OT_RADIO_SYMBOLS_PER_OCTET) * 1000000) / OT_RADIO_BIT_RATE, OT_RADIO_LQI_NONE = 0, OT_RADIO_RSSI_INVALID = 127 } |
enum | { OT_RADIO_CAPS_NONE = 0, OT_RADIO_CAPS_ACK_TIMEOUT = 1 << 0, OT_RADIO_CAPS_ENERGY_SCAN = 1 << 1, OT_RADIO_CAPS_TRANSMIT_RETRIES = 1 << 2, OT_RADIO_CAPS_CSMA_BACKOFF = 1 << 3 } |
enum | otRadioState { OT_RADIO_STATE_DISABLED = 0, OT_RADIO_STATE_SLEEP = 1, OT_RADIO_STATE_RECEIVE = 2, OT_RADIO_STATE_TRANSMIT = 3 } |
Variables | |
OT_TOOL_PACKED_BEGIN struct otExtAddress | OT_TOOL_PACKED_END |
This module includes the platform abstraction for a radio frame.
typedef struct otExtAddress otExtAddress |
This structure represents the IEEE 802.15.4 Extended Address.
typedef uint16_t otPanId |
This type represents the IEEE 802.15.4 PAN ID.
typedef uint8_t otRadioCaps |
This type represents radio capabilities.
The value is a bit-field indicating the capabilities supported by the radio. See OT_RADIO_CAPS_*
definitions.
typedef struct otRadioFrame otRadioFrame |
This structure represents an IEEE 802.15.4 radio frame.
typedef struct otRadioIeInfo otRadioIeInfo |
This structure represents the IEEE 802.15.4 Header IE (Information Element) related information of a radio frame.
typedef enum otRadioState otRadioState |
This structure represents the state of a radio. Initially, a radio is in the Disabled state.
typedef uint16_t otShortAddress |
This type represents the IEEE 802.15.4 Short Address.
anonymous enum |
anonymous enum |
This enumeration defines constants that are used to indicate different radio capabilities. See otRadioCaps
.
enum otRadioState |
This structure represents the state of a radio. Initially, a radio is in the Disabled state.